News for hackers. Stuff that matters.
Re:Inheritance was invented as a performance hack by Dylan16807 on Friday April 30, 2021 @12:14AM (#26989768)
> A list containing two different subclasses of your avoiding-copy-paste base class is now most likely a logical error.

So don't allow those? Supporting inheritance doesn't mean you have to support heterogeneous lists.

There are no comments on this comment yet.