3 ms·
To up the meta-level here: why are all comments on this discussion so far allergic reactions to JavaScript criticism? Reminds me of when I moved from PHP to Ru
by tosh 12y ago
To up the meta-level here: why are all comments on this discussion so far allergic reactions to JavaScript criticism?
Reminds me of when I moved from PHP to Ruby & Python reading arguments that people should just shut up about the 'minor' problems PHP has and that it isn't going anywhere.
Well JavaScript _really_ isn't going anywhere. It is here to stay. But that doesn't mean one should stop complaining about where JavaScript falls short.
There are multiple angles to get out of this mess:
* Local optimization (trying to fix the things that can be fixed and not introducing new problems: very hard, very slow process, think quicksand).
* Global optimization (Dart, ClojureScript, Elm, GWT. Ambitious compile-to-js languages that give you a ton by moving away from what makes JavaScript JavaScript)
* And something in between like compile-to-js languages that stay closer to JavaScript like CoffeeScript, TypeScript that add to it and/or retract stuff.
The fascinating thing here imho is that especially the ambitious approaches to getting us out of the mess we're in lead to faster local improvements (here just some of them) …
* SIMD support: Dart nudged JavaScript to add SIMD support, John McCutchan of the Dart team even worked on that
* Classes: Dart, TypeScript, CoffeeScript
* Briefer, more expressive syntax: CoffeeScript, Dart, TypeScript
* Optional types: Dart, TypeScript, …
* VM Performance: Dart
JavaScript got better as a language as well as a compilation target, especially in the last few months. This is great for all of us. It happened and happens because people are not satisfied with the status quo and don't shut up about it and do what they can to go beyond what's 'good enough'.
The day it becomes unacceptable to criticise the status quo is the day innovation dies. I hope the JavaScript community at large is far away from that mindset.
- bsimpson 12y agoIf the OP criticized JavaScript, I would have been interested in reading it. He didn't. He merely waved his hands at the strawman "JavaScript sucks" and parrotted back a bunch of already well-known alternatives. I don't take issue with the OP criticizing JavaScript - I take issues with the article for lacking substance and with the 20 upvoters who signaled it would be a good use of time to read.
- tosh 12y agoI hear you, I also was a bit confused with seeing the article on the front page of HN.
- robohamburger 12y agoI feel like this post is considerably better than the OP. Like most things in tech it helps to come at it with a cool head. It seems increasingly as I get older programming it is more an exercise in patience. If you want to build something useful today you need to use today's tools regardless of how good or bad they are. The mistake some people make I think is to norm this and accept bad tooling as a matter of course.