(non)nullable types

Michel Fortin michel.fortin at michelf.com
Fri Feb 13 13:49:46 PST 2009


On 2009-02-13 16:30:59 -0500, Jarrett Billingsley 
<jarrett.billingsley at gmail.com> said:

> I was thinking nullability would be applicable to all reference types.
>  A null pointer, delegate, array, or whatever is just as bad as a null
> reference.

That's right with me, except for arrays for which there is bound 
checking safeties in place. A null array and an empty array should be 
undistinguishable in my opinion.

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list