Re:LtU on Dart
by chc on Wednesday October 12, 2011 @01:19AM
(#3101601)
The reason people are deriding it is because it's touted as a feature of the language, but it's really a very unhelpful and relatively powerless type system. Enforcing non-null is more useful than warning me if I pass a string to Math.min. The amount of time I've spent debugging strings passed to Math.min (so to speak) is a rounding error next to the time I've spent weeding out unwanted nulls.
Imagine if I were to put out a language with great fanfare given to the fact that it has a built-in string type. What would your reaction be?
Imagine if I were to put out a language with great fanfare given to the fact that it has a built-in string type. What would your reaction be?