From: Laurent PETIT <laurent.pe...@gmail.com>
Date: Fri, 13 Nov 2009 07:27:49 +0100
Local: Fri, Nov 13 2009 1:27 am
Subject: Re: Generalizing -> & ->>
Oh yes, thanks for refreshing my memory.
And indeed it makes sense to place the question mark in the "questioned" side :) 2009/11/13 Wilson MacGyver <wmacgy...@gmail.com>:
> Yes, it's groovy, and it's "?." It's called safe navigation operator
> http://groovy.codehaus.org/Operators#Operators-SafeNavigationOperator...
> On Thu, Nov 12, 2009 at 6:03 PM, Laurent PETIT <laurent.pe...@gmail.com> wrote:
>>> Sean Devlin wrote:
>>> The doc-strings usually give you a nice hint. I usually use "thread"
>>> Then -?> in contrib is "short-circuiting thread". Not sure about the
>> The question mark ? is there to "mimic" (somewhat) what one can find
>> someObject.?propA.?prop2
>> where .? will check if the object is null before trying to get a
>> Initially i wanted to name it ->? but the final ? is by convention
>> --
> --
> --
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||