Conversation
Replying to
Ah yes, deep inheritance chains and throw in some multithreading as well and you have the perfect storm!
1
Replying to
No need for monotheism; both have their benefits. Keep classes specialized & thin, reduces inheritance problems.
1
Deep hierarchies are also successful in libraries built to be extended by others. Different extrinsic pressures.
Replying to
when taught me that composition was more important than subclassing in cocoa I'm glad I listened
Replying to
1
Are you arguing that favouring composition over inheritance is extreme? Or against the fragile base class problem?
1
Show replies






