groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Le Callonnec <slc...@yahoo.ie>
Subject Re: [PROPOSAL]new operator ?=
Date Tue, 22 Nov 2016 15:03:59 GMT
Hi,

Completely OT, but would it be possible not to cross-post on dev and
incubator lists: I believe these are the same lists. I keep getting
duplicate emails, in any case.  Thanks! ;)

(Back on topic, `?=` is a good idea – call it the “ionic column”
operator)

Regards,
Sébastien.

On 2016-11-22 14:39:45, Andres Almiray wrote:
> I think ||= conveys the exact meaning of the operand whereas ?= is missing
> the : to properly indicate that's a shorthand for Elvis.
> ?:= would be a walrus sporting a pompaduor if you ask me ;-)
>
> -------------------------------------------
> Java Champion; Groovy Enthusiast
> http://jroller.com/aalmiray
> http://www.linkedin.com/in/aalmiray

Mime
View raw message