3 ms·
Why People Misuse Inheritance
- zigzag312 4y ago> it often feels like less work to implement and less work to maintain an inheritance-based approach than a composition/delegation-based one. Good point. Languages should make it as easy/quick to compose and delegate as it's to inherit. Also, more languages should support algebraic data types.