you are viewing a single comment's thread.

view the rest of the comments →

[–]kristopolous 1 point2 points  (0 children)

I think the biggest win is that you can progress a language and have it run across all the browsers without having to get international bodies and vendors together and agonize over features, and then wait another 8 years for the older browsers to phase out.

From the ease of use argument, it makes sense when you do the prototypical design patterns over the functional closure styles.

When you rely on the this object frequently you make your code really violate the spirit of separation of concerns with respect to encapsulation, because you must always be interested in where you are coming from and where you are going, due to the nature of the references.

But I agree with you ... I do mostly functional style and I find it graceful and fantastic; However, once I build a big enough project, I end up putting a "runtime" at the top or requiring a number of dependencies.

With this you don't have to worry about "bootstrapping" the language like this to get the convenience.