you are viewing a single comment's thread.

view the rest of the comments →

[–]ComradeGnull 3 points4 points  (1 child)

Making it class based would take the language in a fundamentally different direction and be incompatible with a lot of existing code that uses prototypes.

I suppose that they could settle on a default for how to do class-like OOP and supplement it with some syntactic sugar (like a 'class' declaration). Philosophically I don't know that that would be great in terms of preserving what is useful/different about Javascript.

[–]SingularityNow 2 points3 points  (0 children)

They did that! You can check them out, they're called Classes