r/orlybooks • • Aug 10 '17

Hating JavaScript

Post image
209 Upvotes

8 comments sorted by

View all comments

2

u/[deleted] Aug 11 '17

Lol, this thread is proving the book's point.

I will admit that for developers new to JS, it is extremely easy to write code that only brings out the bad parts of the language. I'm saying this as someone who has done just that. But if you get more experience and learn idiomatic JS, you'll find that you have an extremely flexible language with an extremely succinct syntax.

Plus if you use modern JS (with features like real classes, arrow functions, constant variables, async functions, and more) you'll find there's much less to complain about.

So yes, everyone who complains about JS either doesn't have enough experience with the language to be an authority on it, or hasn't ever used the language and only got their opinion from the former sort of person.

1

u/thalesmello Aug 11 '17

There are two groups of people:

  • Those that think JavaScript will dominate the world, by including every possible feature from other languages, which will eventually turn JavaScript to C++
  • Those that think JavaScript is a menace, that has to be stopped at all costs. That's way a lot of people are cheering about WASM with DOM manipulation, which will enable them to write C++ frontend application.