News for hackers. Stuff that matters.
Re:Inheritance was invented as a performance hack by sabellito on Thursday April 29, 2021 @10:47PM (#26989396)
In OO languages, inheritance gets the most bang for the buck when used for polymorphism.

All code reuse can be expressed with composition and delegation, bringing more flexibility, testability, cohesion, decoupling, etc, etc, etc.

There are no comments on this comment yet.