Opportunities for D

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 10 00:03:07 PDT 2014


On Wednesday, 9 July 2014 at 20:51:04 UTC, Walter Bright wrote:
> On 7/9/2014 1:35 PM, Andrei Alexandrescu wrote:
>> Hmmm... how about using u after that?
>
> Using u after that would either cause an exception to be 
> thrown, or they'd get T.init as a value. I tend to favor the 
> latter, but of course those decisions would have to be made as 
> part of the design of Unique.

So runtime error or php style better anything than nothing for 
something that can be checked statically...


More information about the Digitalmars-d mailing list