Opportunities for D

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 9 10:30:19 PDT 2014


On Wednesday, 9 July 2014 at 17:01:02 UTC, bearophile wrote:
> Dicebot:
>
>> I don't know where it comes from but non-nullable reference 
>> type has ZERO value if it is not the default one.
>
> This article talks about switching to NotNull on default in 
> real (small) Java projects (you have to add a @NonNullByDefault 
> at package level to change the default):
>
> http://blog2.vorburger.ch/2014/07/java-8-null-type-annotations-in-eclipse.html
>
> Bye,
> bearophile

Yes and this is exactly what we can't do in D. So what is the 
point of discussing library NonNull then?


More information about the Digitalmars-d mailing list