groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From C├ędric Champeau <cedric.champ...@gmail.com>
Subject Re: Negative relational operators for Groovy 3
Date Fri, 18 Nov 2016 13:18:03 GMT
I agree with Jochen and Guillaume: +1 to !instanceof and !in, but I don't
like the other variants.

2016-11-18 14:11 GMT+01:00 Daniel Sun <realbluesun@hotmail.com>:

> Hi Jochen,
>
> >  I think !instanceof and !in are ok. The others... not sure here. Right
> >  now a*=b, which means !< is >=. And in this
> >  case I actually prefer >=.
>
>      Sometimes we write code like "!(a > b)", now we can write "a !> b"
> instead, which is much close to our mind :)
>
> Cheers,
> Daniel.Sun
>
>
>
>
>
> --
> View this message in context: http://groovy.329449.n5.nabble.com/Negative-
> relational-operators-for-Groovy-3-tp5736809p5736816.html
> Sent from the Groovy Dev mailing list archive at Nabble.com.
>

Mime
View raw message