News for hackers. Stuff that matters.
Re:"Hello World" in Dart, compiled to JavaScript by KeithMajhor on Tuesday October 11, 2011 @01:26AM (#3097247)
It's not right now. It's a lousy CoffeeScript. The thing that makes dart good is that it could, some day, have it's own runtime. Also, the language is being designed by the team that did v8. So I'd imagine they plan to build support into chrome at some point.
Re:"Hello World" in Dart, compiled to JavaScript by rayiner on Tuesday October 11, 2011 @02:30AM (#3097429)
I agree CoffeeScript has nicer syntax, but it retains all of Javascript's semantic warts. Whatever quibbles you might have about Dart's syntax (it's young yet!) it's semantics are much nicer than Javascript.
Re:"Hello World" in Dart, compiled to JavaScript by ootachi on Tuesday October 11, 2011 @02:52AM (#3097489)
Well, except for the unsound covariant generics, the lack of an arguments object, and the implicit downcasts, and so on...
Re:"Hello World" in Dart, compiled to JavaScript by rayiner on Tuesday October 11, 2011 @04:05AM (#3097675)
Hint: Dart is a dynamically typed language. The covariant generics and the implicit downcasts are there on purpose.

The lack of an arguments object is a feature not a bug. A rest argument like in Lisp is much better for optimization. The design isn't done yet given that Dart has optional arguments a rest argument would fit in.

Re:"Hello World" in Dart, compiled to JavaScript by cubicle67 on Tuesday October 11, 2011 @09:33AM (#3098453)
I agree CoffeeScript has nicer syntax, but it retains all of Javascript's semantic warts

that comes across as both patronising and ignorant (although it could be me who's the latter). any examples of "all Javascript's semantic warts" coffeescript retains?