Safe navigation operator
Bernard Helyer
b.helyer at gmail.com
Sun Feb 19 17:00:52 PST 2012
On Monday, 20 February 2012 at 00:55:15 UTC, Alex Rønne Petersen
wrote:
> Hi,
>
> http://groovy.codehaus.org/Operators#Operators-SafeNavigationOperator
>
> What do you folks think about this? Would it be useful to have
> in D? It would make navigating large object graphs with
> possible null values much easier.
The traditional counter point to this is that it encourages
bad/lazy design. I don't really agree, but I don't ache for it
either.
More information about the Digitalmars-d
mailing list