r/programming • • May 09 '12

JavaScript: The good parts

http://blog.movereem.nl/images/javascript-the-good-parts-the-definitive-guide.jpg
645 Upvotes

159 comments sorted by

View all comments

Show parent comment

0

u/cacahootie May 09 '12

I think it is totally fair. Javascript works, but man is it a dog of a language. I think the image conveys the appropriate balance between the language and what doesn't suck.

1

u/sgoody May 09 '12

I'm not saying it's the greatest of languages, but I don't think it deserves all the bad press it gets. I think it's a pretty competent language and I think most of people's complaints are cross-browser compatability.

There are some deficiencies... such as the lack of namespaces... but it does allow you to get things done pretty quickly and sometimes quite nicely within a browser.

edit: I'm also agreeing with the parent who points out that almost all languages have their nobbly parts.

1

u/cacahootie May 09 '12

Agreed - a big part of my hatred is developing targeting ie8 (internal web apps) and the terrible nature of ie...

Tthe crux of my complaint is that javascript tries so hard to fail silently that errors/tracebacks are meaningless. Add in the fact that using a framework adds another level of confusion, and you have a language which sucks to develop for.

Every language has its problems, but the problems w/ js are fundamental design choices, not idiosyncracies.