The best replacement for composition is inheritance. |
Лучшие альтернативы к composition можно упорядочить следующим образом: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ваша альтернатива к composition не упомянута? Предложите! |
Пока тут не было идей о компаньонах к composition. |
Вам известен компаньон к composition и он пока не упомянут тут? Предлагайте! |
composition |
|
inheritance |
|
aggregation |
|