News for hackers. Stuff that matters.
Re:Chris Lattner on the Realm WWDC 2017 Swift Panel by mpweiher on Saturday July 01, 2017 @04:43AM (#14676105)
> inheritance based OOP

What's "inheritance based OOP"? The kind of OOP that models everything using subclassing? Partly due to structural static typing so compatibility/polymorphism can only be achieved by having a common ancestor class?

Sure, but that's missing the point of OOP almost completely.

Anyway, subclassing is an extremely useful and by now somewhat underrated tool: it allows for unanticipated extension and programming-by-difference. Meaning you already have something that's close to but not quite what you need.

There are no comments on this comment yet.