null and type safety
Lionello Lunesu
lionello at lunesu.remove.com
Tue Nov 4 23:52:34 PST 2008
"Robert Fraser" <fraserofthenight at gmail.com> wrote in message
news:geregs$sj1$1 at digitalmars.com...
> FWIW, I've _never_ run into a bug const could have prevented. OTOH, I've
> often run into bugs that non-nullable types could have prevented
> (including one on a production system... well, there was another bug that
> raised an exception causing something else to be uninitialized and the
> system came crashing down).
Hear hear!
Nullness should have nothing to do with a type having reference or value
semantics. These two concepts are orthogonal.
L.
More information about the Digitalmars-d
mailing list