4 ms·
Because if all you're looking for is a different way to write javascript then we already have coffeescript for that. A low level programming language that can b
by Kequc 13y ago
Because if all you're looking for is a different way to write javascript then we already have coffeescript for that. A low level programming language that can be compiled into a lower level programming language, like c++ and c. Is not on par with compiling into a scripting language.
- rayiner 13y agoC and Java and god knows what else has been compiled to Javascript, so I'm not sure I see what you're point is.
- Kequc 13y agoI am skeptical of Dart's utility since it is limited to what Javascript is capable of. At the same time I lament about how tired I am of javascript. What I'm saying isn't difficult to understand at all you're just being dickish.
- tree_of_item 13y agoJavaScript is turing complete. That's not a very meaningful limit. You seem to be implying Dart's semantics are influenced by JavaScript's because it compiles to it, but that's not the case. It's true for CoffeeScript because CoffeeScript doesn't try to add semantics to JavaScript, it's just a syntactic translation. Yes, there is an aspect of "works best in Chrome" performance-wise, since Dart VM will be faster than dart2js, but if you were sold on Dart before hearing about dart2js, I don't know why that would make you change your mind. You were hoping for a JavaScript replacement, and Dart is exactly that. Compiling to JavaScript is just something to ease the transition.