Adding the ?. null verification

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 18 08:55:11 PDT 2014


Etienne:

> writeln(obj.member?.nested?.val);

What about an approach like Scala instead?

Bye,
bearophile


More information about the Digitalmars-d mailing list