Hacker News new | past | comments | ask | show | jobs | submit login

> 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: