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 71D80200BC5 for ; Tue, 22 Nov 2016 17:40:25 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 70807160B0C; Tue, 22 Nov 2016 16:40:25 +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 BB82D160AF1 for ; Tue, 22 Nov 2016 17:40:24 +0100 (CET) Received: (qmail 5748 invoked by uid 500); 22 Nov 2016 16:40:23 -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 5734 invoked by uid 99); 22 Nov 2016 16:40:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2016 16:40:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2B2741A9919 for ; Tue, 22 Nov 2016 16:40:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.48 X-Spam-Level: X-Spam-Status: No, score=0.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id DBfFle56lopw for ; Tue, 22 Nov 2016 16:40:21 +0000 (UTC) Received: from mail-oi0-f68.google.com (mail-oi0-f68.google.com [209.85.218.68]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id EB8B35F5A1 for ; Tue, 22 Nov 2016 16:40:20 +0000 (UTC) Received: by mail-oi0-f68.google.com with SMTP id m75so3381820oig.1 for ; Tue, 22 Nov 2016 08:40:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=iq4V5AHaPRUI1lJC20IVpH3JVbEabdnWqzI54sqwoVg=; b=t08C28cdSlxSofh5qSws+0cdERF4vtwhr/vVKRo8vbDLLe/zcK16lCkx50F+/Wi5hs RsWPbjwA3B2d37koRjRfT2nQMht1S4n0OuqOA+uZyh6ioXmQnA/Vh90R1DqS4Pm9+9rC xeDjKDSk3pAl6iIZG52IyrYYl2TIvPQijndoJvpI7cuJ5r22kGGP9Fw0pcDvEKK9f8TT J+5he4sJ9pYxpHFmv5lwzenx5py83ep+R1ha8pep3whwdHrdRVTuLIHFGAsN4Jxwk93v f5FPhJv5PEFyRqaIrP0JOH/M1H4Jxl+F+lOdtdNlZumpsymLJskEbv2N3vbMSodB8mW2 ZiCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=iq4V5AHaPRUI1lJC20IVpH3JVbEabdnWqzI54sqwoVg=; b=IOtpBMN50gn4mFtLoACeJf8ECj3Wrp0iFyZ43NzSr+VoLmfsQLOoW5OS9mn3jEsKIj d6Gc58pfEYLRPODkjeD+ZWJsI5HyQoypJcda0HUS40NkZoSUmJ0d6dsv9QvnJhJKOkaC pOjTTBSLAMVhWmY4hpLUcNd34z/17DkTQnXmaYq4KNxIdOZOr+vLEJC1eD85Qzuck0om fII7YWxU7G4vFmBXovQXADtbGE5oJyDHy6ful07bICvCj1zknngD04Fcx2iIB8jr839b 6fT6BjORZRq1VtCozdEk1YH4XlF2RhP636D3meTtnlqOHVY/OYuFaJ2RfP4pc0nRUEfx d7HA== X-Gm-Message-State: AKaTC01UBbpXQU5uO/QOqZd7E9fJwoVmPF+6aCxjAJbIOtPxtjmkATF7L4SCvvZvhgnqkWXe8GCjVULEdPXOLQ== X-Received: by 10.157.19.23 with SMTP id f23mr12722622ote.116.1479832753817; Tue, 22 Nov 2016 08:39:13 -0800 (PST) MIME-Version: 1.0 Sender: shaposhnik@gmail.com Received: by 10.182.89.102 with HTTP; Tue, 22 Nov 2016 08:39:12 -0800 (PST) In-Reply-To: <1479824080045-5736886.post@n5.nabble.com> References: <1479824080045-5736886.post@n5.nabble.com> From: Roman Shaposhnik Date: Tue, 22 Nov 2016 19:39:12 +0300 X-Google-Sender-Auth: 16w4EBCW_VtTHpzYVDQg07YkjaU Message-ID: Subject: Re: [PROPOSAL]new operator ?= To: dev@groovy.apache.org Cc: dev@groovy.incubator.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Tue, 22 Nov 2016 16:40:25 -0000 On Tue, Nov 22, 2016 at 5:14 PM, Daniel Sun wrote: > Hi all, > > Marcin Erdmann proposed the new operator ?=, e.g. a ?= "foo" is > equivalent of a = a ?: "foo". > > I like his idea, what do you think about it? Like it! I could definitely see myself using it. Thanks, Roman.