2 ms·
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. En
by chc 15y ago
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?