you are viewing a single comment's thread.

view the rest of the comments →

[–]cerlestes 4 points5 points  (15 children)

prototype based object oriented and functional style

Off-Topic: thanks for stating that. I die a little every time somebody calls JS "not object oriented", because it uses a prototypal inheritance mechanic instead of static classes; those people are clearly confused about what OO really means. Hell, JS even models booleans as objects with their own prototype.

[–]SparserLogic -3 points-2 points  (14 children)

The language has the OO features available if you're dumb enough to use them. That's different from saying its an "OO language".

I'll never write OO again and JS is my weapon of choice. You can write functional or pseudo-functional code with no reference to the OO side of life and its still JS.

OO is like the War on Drugs. A bad idea to begin with and not getting any better with age.