The main problem that I see as a solution for creating large applications with several developers.
In Javascript, I can write perfectly correct code:
function x(y) { return y*y; } document.write(x(3,4,5));
And it will do just fine, but this is clearly a mistake.
Now separate the function definition and function call by several developers and several months over a code base of several thousand lines of code.
The original function x (y) could initially be a function of x (y, z, a), but has since been reorganized over time. Here, javascript fails for me, and this is what the dart will help solve.
Edit (May 2013) In addition to my answer above, which I believe remains true, I think the performance history is also becoming quite convincing. Lars Buck and Casper Lund chatting with Google I / O provide some evidence.
Chris Buckett Oct 18 '11 at 20:55 2011-10-18 20:55
source share