by bwarp · 14y ago · 0 comments
It still feels "solid" and dependable and without much fluff.
null, Null, None, Nil
At least I know which null I'm referring to in Java!
You should know that you must initialise all types to a default value. Then you don't need a language feature for "None". Being lazy or stupid is not a reason to add a language feature.
Oh and none of my code has thrown an NPE for over 10 years. That was when I started using pre and post condition checking which ultimately solves a lot more problems than some language feature.
There is nowt wrong with null, if you truly understand what it is.