The best replacement for composition is inheritance. |
The best alternatives to composition are rated as following: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Your alternative for composition is not listed? Suggest! |
No companions for composition have been suggested so far. |
You have in mind a companion for composition and it is not yet here? Propose! |
composition |
|
inheritance |
|
aggregation |
|