Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, that's fair. I guess I don't really use prototypes anymore either. I find modules and closures are intuitive and powerful, though very different conceptually from classes/prototypes, tools for handling things like private state. Really OOP is what I've grown away from over the years in most languages. I even enjoy writing C++ in this style since its capabilities around things like closures has improved, anonymous namespaces make for a similar "module" scope to what you find in js.


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

Search: