Skip Navigation

The Tragic Death of Inheritance

avivcarmi.com The Tragic Death of Inheritance

This is a story about how I gradually fell in love with composition

The Tragic Death of Inheritance

I thought this was an interesting article, that might be of interest in this community since rust is one of the new languages that uses Composition over Inheritance.

TL; DR by the author:

This is a story about how I felt forced to give up inheritance and object-oriented programming, and still missed it for a very long time. And why now, half a decade later, I believe that inheritance is an inferior choice in most cases.

2
2 comments