Safe Navigation Operator “?.” for D2 ?

Gary Willoughby dev at nomad.so
Fri Feb 28 02:06:12 PST 2014


On Friday, 28 February 2014 at 09:24:23 UTC, John Colvin wrote:
> 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
>
> It is? Why?

I would also like to understand why this is a code smell. I'm 
completely on the fence but would love to hear arguments either 
way.


More information about the Digitalmars-d mailing list