Delegation: Context
Delegation is more general than inheritance.
Inheritance is useful for capturing is-a-kind-of relationships because they are very static in nature.
Using inheritance to model dynamically changing roles does not work well.
Previous slide
Next slide
Back to first slide
View graphic version