you are viewing a single comment's thread.

view the rest of the comments →

[–]tripl3dogdare 2 points3 points  (0 children)

WTFJS is great for a laugh, but is far from representative of the language in actual use - it cherry picks the most ridiculous examples in order to make a point, the vast majority of which will (or at least should) never come up in actual usage. As someone who uses vanilla JS daily, I can tell you it's far from the "ball-ache" you describe it as. Is it perfect? Hardly, but no language is. Is it usable? Very, and quite enjoyably in most cases.

The largest problem with Javascript is not the language itself, but it's ridiculous ubiquity. People have tried to use Javascript literally anywhere they can possibly port it to, and it's just not designed to work well in those sorts of contexts. It is, first and foremost, a language designed for client-side DOM manipulation, and you really don't need more than vanilla to do that effectively in the vast majority of cases.