[D typesystem] What is the type of null?

Justin Johansson no at spam.com
Tue Oct 12 08:46:05 PDT 2010


On 13/10/2010 2:41 AM, Simen kjaeraas wrote:
> Justin Johansson <no at spam.com> wrote:
>
>>> The answer to the OP's question is simple: null's type is not
>>> expressible in D.
>>
>> That is a sad observation for a language that purports
>> maturity beyond the epoch of C/C++/Java et. al.
>
> I'm curious - why does null need such a specific type?
>

I'm sure others can throw their thoughts in on this, however
for me, on the other side of the world, it is way beyond
the witching hour and I need to retire at least a few
hours before the sun rises.

Until later, enjoy your daylight time,

Justin


More information about the Digitalmars-d mailing list