3 ms·
You should really read the link that I posted there (note as well that this is documentation from the official Dart site). Scroll down to the heading, "Why is t
by kibwen 13y ago
You should really read the link that I posted there (note as well that this is documentation from the official Dart site). Scroll down to the heading, "Why is the static typing unsound?" to determine why Dart is really and truly not statically typed by any stretch of the imagination. The TL;DR is that, by definition, static type systems are pessimistic and dynamic type systems are optimistic, and Dart's type system is profoundly optimistic.
If you truly want a Javascript alternative with optional typing, try TypeScript instead.