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

Neither classes nor inheritance are necessary for OOP. A good read on this topic: http://wcook.blogspot.de/2012/07/proposal-for-simplified-mod...

Btw, you can also do classes with JavaScript: http://mootools.net/docs/core/Class/Class

JavaScript's prototype-based OOP is a superset of class-based OOP.




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

Search: