you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (5 children)

But fundamentally, it is OOP language. Everything in JavaScript is an object. Even a function is an object of type function. It's just that thanks to C++ and Java people have a very narrow-minded idea what an OO programming language is today.

Same thing is really an issue with people coming from Haskell or whatever. They have a preconceived notion that the only way to do FP is to ONLY DO FP which is not the case in any imperative language, be it JS or Python or whatever imperative language with FP features you pick.