Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DFD2B200BC3 for ; Fri, 18 Nov 2016 15:21:36 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DE6AC160B04; Fri, 18 Nov 2016 14:21:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 353AE160AFE for ; Fri, 18 Nov 2016 15:21:36 +0100 (CET) Received: (qmail 41244 invoked by uid 500); 18 Nov 2016 14:21:35 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Received: (qmail 41221 invoked by uid 99); 18 Nov 2016 14:21:34 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2016 14:21:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 3AE6CC0D64 for ; Fri, 18 Nov 2016 14:21:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.992 X-Spam-Level: X-Spam-Status: No, score=0.992 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id qq2pHGTTBhDL for ; Fri, 18 Nov 2016 14:21:32 +0000 (UTC) Received: from mail-it0-f49.google.com (mail-it0-f49.google.com [209.85.214.49]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 670775F403 for ; Fri, 18 Nov 2016 14:21:31 +0000 (UTC) Received: by mail-it0-f49.google.com with SMTP id y23so33148079itc.0 for ; Fri, 18 Nov 2016 06:21:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=8zZZEdq9Qhva26oKz3RmgaThym4c1FzruIHXOARj2o0=; b=blraoEhpUf4FTMEV/asc545Hhl1gSO14hsEU8yuW0G6JEV8k7tc2YAlyptlX8Rzon6 23+V2Mc4x8Ex4WjPv8jqGpwfQqkwzKCQrNH4d0jNZQ/LzUV9aZ7s8x9Yx3jVYroyUiGT zD/LemTp2sbCFCPUUfrPqf0D8rN0B/RUK2rNwaCfpaXIm7ep58lMnK3n0rolwG7eECII aXiGunuRuMAJZPSdiLE82w8s4n82MJTBvuM03PA2HXnB1ICm0rc2aikxEaHwgt25gli1 cm9JefnJwfTI2aeevcMzWyXD7yTLr1BFwfvbRGztQCIp6h9DzIZRCBdk1MrmUUFu4Dy3 c3ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=8zZZEdq9Qhva26oKz3RmgaThym4c1FzruIHXOARj2o0=; b=byB/AnOg82arq/sglH6uP8ArX+Pl/n6Z/xC2/YldwHUtKy1ZIH93g8rPA5QP0zzS7g SQ4zWwzAaoTtDx4QWkqIcb3/gC4qZGF5v9yWyJbdp8SrxWXN9ePbINRSzATwWrgqGgyc 0lLyIR8WfeSd381TMySmCk7cN0sC6D6eHmtwH9SPWf7LaL0MQIeui70V2kN6PdJnBJRa fd2muqbu7acl3y8L94tet+iJ70sZgYM2y/KNjtWasjvbssDcBRQ5nRaEk0fApaarhyc+ DZIhVt9ZbWcz509E2SJBZSrydWiADMTUGShu4oOSjkcj06GthiGQn2uptGBcxchQUYRB gGyQ== X-Gm-Message-State: AKaTC007IyvFZsd4IKC5zROBRnFB5MeDG3wtTCUy9CT1nvb8XGzj43nlf3RY1Fz8k7hrTox59kJBTNvDuDhxKg== X-Received: by 10.107.146.196 with SMTP id u187mr8236377iod.34.1479478585309; Fri, 18 Nov 2016 06:16:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.130.209 with HTTP; Fri, 18 Nov 2016 06:16:04 -0800 (PST) In-Reply-To: References: <1479473119038-5736809.post@n5.nabble.com> <1479474700269-5736816.post@n5.nabble.com> From: Graeme Rocher Date: Fri, 18 Nov 2016 15:16:04 +0100 Message-ID: Subject: Re: Negative relational operators for Groovy 3 To: dev@groovy.apache.org Cc: dev@groovy.incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable archived-at: Fri, 18 Nov 2016 14:21:37 -0000 In agreement with everyone else here. +1 to !in and !instanceof -1 to everything else Cheers On Fri, Nov 18, 2016 at 2:25 PM, Daniel Sun wrote= : > OK. I see :) > > > > =E5=9C=A8 C=C3=A9dric Champeau [via Groovy] =EF= =BC=8C2016=E5=B9=B411=E6=9C=8818=E6=97=A5 > =E4=B8=8B=E5=8D=889:18=E5=86=99=E9=81=93=EF=BC=9A > > 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 <[hidden email]>: >> >> Hi Jochen, >> >> > I think !instanceof and !in are ok. The others... not sure here. Righ= t >> > now a*=3Db, which means !< is >=3D. And in this >> > case I actually prefer >=3D. >> >> 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-Gro= ovy-3-tp5736809p5736816.html >> Sent from the Groovy Dev mailing list archive at Nabble.com. > > > > > ________________________________ > If you reply to this email, your message will be added to the discussion > below: > http://groovy.329449.n5.nabble.com/Negative-relational-operators-for-Groo= vy-3-tp5736809p5736817.html > To unsubscribe from Negative relational operators for Groovy 3, click her= e. > NAML > > > ________________________________ > View this message in context: Re: Negative relational operators for Groov= y 3 > Sent from the Groovy Dev mailing list archive at Nabble.com. --=20 Graeme Rocher