Delegation is for Control Flow as Inheritance is for Data Construction (Working Paper)
Thoughts
- case on type ==> OO (data)1
- case on state ==> State Machine (control flow)
- inheritance ==> data
- composition ==> control flow
- override ==> data
- delegation ==> control flow
See Also
-
Bertrand Meyer pointed out that OO is case on type) ↩