4 ms·
If you're going to go to the trouble of creating a JavaScript replacement, making something more like Java is the wrong way to go IMO. CoffeeScript is a lot mor
by akavlie 15y ago
If you're going to go to the trouble of creating a JavaScript replacement, making something more like Java is the wrong way to go IMO. CoffeeScript is a lot more palatable.
- deleted 15y ago[deleted]
- jamesrom 15y agoCoffeeScript basically simplifies (and does a pretty good job, imo) existing JavaScript language features. Whereas, Dart adds classes and interfaces and a few other neat things. Admittedly, however, I do cringe whenever I see things like x.compareTo(y) or X x = new X();
- riffraff 15y agoas a sidenote, it does seem they have user defined operators, just not the starship <=> for compareTo
- bgarbiak 15y agoClasses, types, better syntax - it's all available in JavaScript today, in it's various 'forms' (CoffeeScript, Mootools, Closure, etc.). Dart isn't a bad language, it just doesn't bring anything exciting to the table (or I fail to see it). Seems like it's ECMAScript 5 but early-bound and with Java syntax. And it runs only on browsers that already support ES5 - this one is really underwhelming.