3 ms·
Dart's biggest selling point is that it's very nice to use and that it's free of nasty surprises. Have you ever written a somewhat bigger JavaScript applicatio
by ahoge 14y ago
Dart's biggest selling point is that it's very nice to use and that it's free of nasty surprises.
Have you ever written a somewhat bigger JavaScript application with a few thousands lines of code spread across dozens of files? It's horrible.
With Dart, the experience is similar to Java or C# (just with terser syntax). There are classes/packages, and you can simply import things. In the IDE you get call-tips, auto-complete, and sanity checks (based on type annotations or inferred types). There is very little friction in general.
There is also block scope, a lexically scoped `this`, built-in classes/inheritance, mixins, lambdas, and things like that.