News for hackers. Stuff that matters.
Re:Dart language by moomin on Monday October 10, 2011 @04:26AM (#3092824)
I've got to say, I'm looking at it and thinking "That's it?". It looks embarrassingly like C# to me.

Other than that: it's got coffeescript's fast initializer syntax, but it's not as concise. It's got types but AFAICT no type inference. No destructuring either.

Only thing I can see it's really got going for it is some basic types which could have been provided as a standard Javascript library (and probably will become one...)

Re:Dart language by munificent on Monday October 10, 2011 @05:33AM (#3093028)
> AFAICT no type inference.

Not yet.

> No destructuring either.

There's a proposal floating around for pattern-matching that would address that too.

This is still early days for the language, so there's a lot left to be done.

Re:Dart language by moomin on Thursday October 13, 2011 @07:01AM (#3106803)
I've thought about this, and I don't really think the "early days" defence is really acceptable in this case. If Dart isn't better in some appreciable way than Javascript, it has no reason to exist whatsoever. Equally, why not just adopt C# wholesale (it's even registered with the same standards body as Javascript) and give it a new library suitable for web programming?