4 ms·
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 :)
by lukasm 12y ago
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 :)
- discreteevent 12y agoNot sure what you mean by breaking backward compatibility. It generates js. Does e.g. Clojurescript break backward compatibility with js?
- pyre 12y agoI 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.
- lukasm 12y agoTypescript 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.