News for hackers. Stuff that matters.
Re:Inheritance was invented as a performance hack by Retric on Thursday May 08, 2025 @10:17AM (#43926303)
Inheritance was oversold, but it can help remove a lot of boilerplate code. Early windows notoriously had hundreds of lines of code for a hello world program. Setting your own defaults and getting on with your day is great for dealing with a less refined API etc.

Complex inheritance trees can make sense in niche application for similar reasons.

There are no comments on this comment yet.