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

"JavaScript is an object oriented..."

No it isn't. It has support for OO and you can choose to write code object-oriented if you wish. But equally you can disregard the OO bit quite happily and compose behaviour using closures instead.

None of my favourite JS libs are OO, it's a poor abstraction imho.



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

Search: