4 ms·
This comment is really one of my pet peeves. Javascript is absolutely meant to be "used in an OO context" -- everything including functions have been designed
by awinder 12y ago
This comment is really one of my pet peeves. Javascript is absolutely meant to be "used in an OO context" -- everything including functions have been designed as objects since very early on in the language. It does not implement classical inheritance, sure, but classical inheritance isn't a mandatory design pattern for a language to be considered OO.
Functional programming & reactive programming are absolutely valuable, though, and fulfill very real design patterns in Javascript. They're great skills to learn. No one reading this comment should come away thinking that OO is not absolutely important to JS, and that if you try to solve every problem in JS without utilizing it's aspects, you're probably hamstringing yourself without need.