groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Laforge <glafo...@gmail.com>
Subject Re: Negative relational operators for Groovy 3
Date Fri, 18 Nov 2016 16:08:10 GMT
Without joking: let's remember that we don't want Groovy to become
ASCII-art like other languages...

On Fri, Nov 18, 2016 at 5:04 PM, Jochen Theodorou <blackdrag@gmx.org> wrote:

>
>
> On 18.11.2016 15:52, Remi Forax wrote:
>
>>
>>
>> ----- Mail original -----
>>
>>> De: "Graeme Rocher" <graeme.rocher@gmail.com>
>>> À: dev@groovy.apache.org
>>> Cc: dev@groovy.incubator.apache.org
>>> Envoyé: Vendredi 18 Novembre 2016 15:16:04
>>> Objet: Re: Negative relational operators for Groovy 3
>>>
>>
>> In agreement with everyone else here.
>>>
>>> +1 to !in and !instanceof
>>> -1 to everything else
>>>
>>> Cheers
>>>
>>
>> even !!
>>
>
> and then you can have
>
> assert a != !!a
>
> lol
> bye Jochen
>



-- 
Guillaume Laforge
Apache Groovy committer & PMC Vice-President
Developer Advocate @ Google Cloud Platform

Blog: http://glaforge.appspot.com/
Social: @glaforge <http://twitter.com/glaforge> / Google+
<https://plus.google.com/u/0/114130972232398734985/posts>

Mime
View raw message