Linked by Thom Holwerda on Mon 10th Oct 2011 20:14 UTC, submitted by twitterfire
General Development "Google has released an early version of Dart, a new programming language designed to take some of the pain out of developing applications for the Web. But while it's an evolutionary improvement on JavaScript, Dart faces a hard uphill battle for acceptance."
Thread beginning with comment 492460
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: js
by Clinton on Mon 10th Oct 2011 22:45 UTC in reply to "js"
Clinton
Member since:
2005-07-05

Main problem with Dart is that it's not an evolutionary improvement on Javascript, it's an all new Virtual Machine.

So, none of your old js code will run with your new Dart code.


I think that is exactly why Dart, or any other full replacement for Javascript, is so tempting.

Javascript sucks a lot more than it should, which is why people are always trying to make it easier with things like jQuery and CoffeeScript. I think there is a great amount of merit to completely ditching the old and bringing in something new.

Reply Parent Score: 6

RE[2]: js
by vivainio on Tue 11th Oct 2011 03:55 in reply to "RE: js"
vivainio Member since:
2008-12-26



Javascript sucks a lot more than it should, which is why people are always trying to make it easier with things like jQuery and CoffeeScript. I think there is a great amount of merit to completely ditching the old and bringing in something new.


The fact that CoffeeScript is ok means you don't need to ditch js to get tolerable language.

Just add optional type definitions to underlying js engine, and you can use a better language like CoffeeScript and have the code run fast, while retaining compatibility.

Reply Parent Score: 4

RE[3]: js
by Clinton on Tue 11th Oct 2011 05:10 in reply to "RE[2]: js"
Clinton Member since:
2005-07-05

My point is that sometimes great things come from breaking compatibility. As nice as it may be, CoffeeScript is still just a crutch.

Reply Parent Score: 3