filmov
tv
Delegation pattern - Software Design Pattern - Prefer composition over inheritance for code reuse

Показать описание
Delegation pattern - Software Design Pattern
- Prefer composition over inheritance for code reuse
- Allows object composition to achieve the same code reuse as inheritance
- Delegation is a way to make composition as powerful for reuse as inheritance
====================================================
====================================================
- Prefer composition over inheritance for code reuse
- Allows object composition to achieve the same code reuse as inheritance
- Delegation is a way to make composition as powerful for reuse as inheritance
====================================================
====================================================