On Saturday, 6 April 2013 at 12:41:46 UTC, Andrei Alexandrescu wrote:
On 4/6/13 4:10 AM, bearophile wrote:
Zach the Mystic:

Not disagreeing, but you had mentioned nullable types before, and I
was wondering what they might look like also. Have you made an
enhancement for these I could examine?

I opened this:
http://d.puremagic.com/issues/show_bug.cgi?id=4571

Part of the syntax is:

T? means T nullable
T@ = means not nullable.

But that ER is a confused mess, and in the meantime the @disable was introduced. Now the probability of such nullable syntax+semantics to be introduced in D is very low, so probably I will close down that ER.

Bye,
bearophile

I think it's safe to close it. Nullable types have not enjoyed a lot of appreciation in C#.

Andrei

In C#, all objects are already nullables, which make it not really useful.

In D, this is implementable as a lib anyway.

Reply via email to