|
|
|
|
|
by pjc50
205 days ago
|
|
Delegation is a very useful part of composition. Almost all OOP languages have two techniques to delegate some methods to another object: - manually write a bunch of forwarding methods and remember to keep them updated, or - inheritance. |
|