Null references (oh no, not again!)

Ary Borenszweig ary at esperanto.org.ar
Thu Mar 5 13:51:45 PST 2009


Alex Burton escribió:
> Alex Burton Wrote:
> 
> 
>> Oops I'm wrong the 2/3 is NON nullable. My brain seems to have trouble reading all this 'non null' stuff.
>>
> Actually non nullable is a double negative.
> 
> What we really want in the D language and the language of the discussions about D is simple.
> 
> 1) Types.
> 
> 2) Nullable Types - optional
> 
> There is no need for Non Nullable types. These are Types.

I think nullable types can't be optional. How do you implement a linked 
list without them? You use a dummy value for the "no next node"? Naaah...

> 
> Alex



More information about the Digitalmars-d mailing list