|
|
|
|
|
by achr2
4359 days ago
|
|
Your wikipedia link actually does a good job of showing why the composition shown in the article is poorly conceived. The whole point of 'composition over inheritance' is that your object is still polymorphic on the composed-of classes. |
|