Opportunities for D

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 9 10:01:00 PDT 2014


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


More information about the Digitalmars-d mailing list