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

Classes and inheritance are features of type systems, not OOP. Plenty of functional programming JS libraries use classes for testing types (for example, the Either monads' Left and Right).



Classes and class inheritance are features of class-based systems, yes.

Prototypes and prototype inheritance are features of prototype based systems.




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

Search: