3 ms·
> Interfaces are a way of breaking out. They're additive, rather than hierarchical, from the implementing class perspective. Java (and .Net by copying) choose
by marcosdumay 8y ago
> 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.
- barrkel 8y agoOh, 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.