News for hackers. Stuff that matters.
Re:Dart Programming Language Specification [pdf] by lukasm on Tuesday July 01, 2014 @03:18PM (#7972886)
The great thing about Dart is that it breaks backward compatibility with js. The bad thing about Dart is that it breaks backward compatibility with js :)
Re:Dart Programming Language Specification [pdf] by discreteevent on Tuesday July 01, 2014 @04:15PM (#7973231)
Not sure what you mean by breaking backward compatibility. It generates js. Does e.g. Clojurescript break backward compatibility with js?
Re:Dart Programming Language Specification [pdf] by pyre on Tuesday July 01, 2014 @04:53PM (#7973442)
I think that the parent was referring to the fact that it is it's own language with its own VM/runtime. The idea is to create a new language with JavaScript as a compile target. Things like CoffeeScript, TypeScript, etc are much more conservative approaches to dealing with the issues JavaScript has.
Re:Dart Programming Language Specification [pdf] by lukasm on Tuesday July 01, 2014 @05:46PM (#7973693)
Typescript is a superset of Javascript. Similar to C and C++. Almost every C code can be compiled as C++. Dart is Java in this analogy.