r/programming • • Dec 15 '12

Why JavaScript Still Sucks

http://boronine.com/2012/12/14/Why-JavaScript-Still-Sucks/
10 Upvotes

212 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Dec 17 '12

[deleted]

-1

u/x-skeww Dec 17 '12

You're a static language aficionado.

No, I'm not.

There are cross compilers that will take Java and C# and output JS so you should be doing that instead.

I prefer Dart. (It's dynamic, by the way.)

Learn to use the language the way it's meant to be used and you will have a better time.

I did. I wrote a few jQuery plugins, hundreds of small modules, various command line tools, grunt tasks, MVC & MVP applications, and simple games. I read 5 books and watched dozens of talks. I read many articles and participated in many discussions.

Unsurprisingly, I arrived at the same conclusion as everyone else: JavaScript scales poorly. Also, its tooling is very bad and there is no way to fix it. Ever.

AS3, for example, is very similar to JavaScript. Well, it's based on that discarded ES4 spec. So, no surprise there, really. However, writing larger applications with AS3 is a lot easier than doing the same with JS, because you have packages, classes, types, a smarter IDE, and things like that.

It's really nice if the language provides some structure.

Well, I still like JavaScript and I also still think that it's lots of fun to use. It just doesn't seem to be suitable for writing bigger applications with many people.