|
|
|
|
|
by grahamlee
207 days ago
|
|
What you lose by using composition is that the composing object is no longer a subtype of the constituent object, so you can't use it as a "decoration" of the original object in a program that expects an instance of the original. |
|