4

Deconstructing Inheritance

 2 years ago
source link: http://lucteo.ro/2021/12/13/deconstructing-inheritance/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Deconstructing Inheritance

In this talk I make a critique of Inheritance as it is present in mainstream OOP. We look from multiple points of views on the Inheritance relationship, and we show that, at a closer inspection, it doesn’t reach up to the promises it makes. The talk touches the simple problem of the Rectangle and Square, it discusses the parallel with the is-a relationship, and it shows how the Liskov Substitution Principle runs against inheritance.

The talk is based on the Overload article with the same title.

Video is available on YouTube. Slides and more information can be found here.

Keep truthing!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK