3 ms·
> Why would you have a distaste for JavaScript based on how others use it? Languages don't exist in a vacuum. The way libraries are written and the way coworke
by smt88 7y ago
> Why would you have a distaste for JavaScript based on how others use it?
Languages don't exist in a vacuum. The way libraries are written and the way coworkers write code has a huge effect on us.
> proven over time its flexibility and adaptability to become probably the single most used language
Its usage has nothing to do with its quality. The web has a low barrier to entry, and well web devs have to use JS because browsers handcuff us to it.
If JS were so great, we wouldn't have increasing TypeScript adoption or a million compile-to-JS languages.
I've been writing JS for 20 years. I use bleeding-edge features, TypeScript, and Babel. I've done front and back end. It still sucks (which is sometimes the fault of V8, but not always).
- schwartzworld 7y ago"If JS were so great, we wouldn't have increasing TypeScript adoption or a million compile-to-JS languages." That's quite the leap. Plenty of people like writing plain JS. Your only argument for why "it sucks" is basically "because some other people made tools that they thought were better." What's one language that doesn't fit that? Python sucks too https://github.com/vindarel/languages-that-compile-to-python https://github.com/vindarel/languages-that-compile-to-python C sucks too https://github.com/andrei-markeev/ts2c https://github.com/andrei-markeev/ts2c Rust sucks too http://rusthon.github.io/Rusthon/ http://rusthon.github.io/Rusthon/ The real reason people talk about JS being bad is because "circle jerk" and "reasons".