News for hackers. Stuff that matters.
Re:Inheritance versus Composition by marcosdumay on Thursday May 09, 2019 @01:16PM (#19870130)
> Interfaces are a way of breaking out. They're additive, rather than hierarchical, from the implementing class perspective.

Java (and .Net by copying) choose to make interfaces additive and superclasses combinatorial. It's a design decision and in no way intrinsic. Other languages have different choices.

Re:Inheritance versus Composition by barrkel on Thursday May 09, 2019 @04:56PM (#19872340)
Oh, I'm aware. However additive superclasses are much much worse for OOP, there's good reason languages beyond C++ haven't walked the same road.