๐ ์ค๋ณต ์ฝ๋๋ฅผ ๊ฐ์ฒด๋ฅผ ์ฐธ์กฐํ๋ ๋ฉค๋ฒ ๋ณ์๋ฅผ ํตํด ์ฃผ์
๋ฐ์ ์ฌ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ
= Forwarding (ํฌ์๋ฉ)
- ๋ชฉ์ : Coupling (๊ฒฐํฉ๋)์ ๋ฎ์ถ๊ณ , Reusability (์ฌ์ฌ์ฉ์ฑ)๋ฅผ ๋์ โก๏ธ Cost
Black-box Reuse
๐ ๊ฐ์ฒด์ ๋ด๋ถ๊ฐ ๊ณต๊ฐ๋์ง ์๊ณ Interface๋ฅผ ํตํด์๋ง ์ฌ์ฌ์ฉํ๋ ๊ฒ, ํฉ์ฑ์ ํตํ ์ฌ์ฌ์ฉ
โ White-box Reuse
HAS-A Relationship
์ฅ์
- Coupling (๊ฒฐํฉ๋) ๊ฐ์
- Interface๋ฅผ ํตํ ์ฌ์ฌ์ฉ โก Data Abstraction, Encapsulation (์บก์ํ), Information Hiding (์ ๋ณด ์๋) ์ ์ง
- ๋์ผ ํ์ ์ ๊ฐ์ฒด๋ก ๋ฐํ์์ Dynamicํ๊ฒ ๊ฒฐ์ ๊ฐ๋ฅ
- ํด๋์ค ๊ณ์ธต ๊ตฌ์กฐ๋ฅผ ์๊ท๋ชจ๋ก ์ ์ง โก Less SW Complexity (SW Crisis)