Safe Navigation Operator “?.” for D2 ?

Peter Alexander peter.alexander.au at gmail.com
Thu Feb 27 13:20:47 PST 2014


On Thursday, 27 February 2014 at 20:49:59 UTC, deadalnix wrote:
> On Thursday, 27 February 2014 at 13:27:14 UTC, Remo wrote:
>>
>> Apparently C# will get it in the next version.
>> http://blogs.msdn.com/b/jerrynixon/archive/2014/02/26/at-last-c-is-getting-sometimes-called-the-safe-navigation-operator.aspx
>>
>> What do you think how well would this work in D2 ?
>
> Chaining . operation is a code smell to begin with, and having
> everything nullable is dubious as well. This is fixing a problem
> that shouldn't exists to begin with.

+1

Please no.


More information about the Digitalmars-d mailing list