News for hackers. Stuff that matters.
Re:Inheritance Often Doesn't Make Sense by weberc2 on Sunday March 18, 2018 @01:04AM (#16610519)
Interfaces are a distinct concept from inheritance. Inheritance can be used as an interface mechanism, but that's merely an implementation detail. For example, Go has interfaces with no inheritance at all. It's unfortunate that most people think of Java or C# interfaces by default; it really creates a lot of confusion.

There are no comments on this comment yet.