3 ms·
It's optionally statically typed. You can choose to use types if you want. That alone is a huge improvement.
by 10098 13y ago
It's optionally statically typed. You can choose to use types if you want. That alone is a huge improvement.
- kibwen 13y agoYou 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.