D - Unsafe and doomed
Timon Gehr
timon.gehr at gmx.ch
Sat Jan 4 14:24:07 PST 2014
On 01/04/2014 09:16 PM, Walter Bright wrote:
>
> Non-NULL is really only a particular case of having a type with a
> constrained set of values. It isn't all that special.
If you allow a crude analogy: Constraining a nullable pointer to be not
null is like sending an invitation to your birthday party to all your
friends and also Chuck, including a notice that Chuck cannot come. You
are defending this practise based on the observation that some birthday
parties have a required dress code.
More information about the Digitalmars-d
mailing list