3 ms·
I wholeheartedly agree with the author that representing "nothing" or "unknown" is essential. I read the previous article and had my feelings put into better wo
by _bxg1 9y ago
I wholeheartedly agree with the author that representing "nothing" or "unknown" is essential. I read the previous article and had my feelings put into better words by this one.
But I think - beyond having wildly inconsistent notions of null - many languages do a much worse job of dealing with null than they could, which is why it causes so many errors in the wild. Java is obviously the archetypical example. It sounds from the comments, though, like Objective-C and Swift and Ruby have interesting strategies which I didn't know about.