From dev-return-4935-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Mon May 28 02:06:58 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 46DE0180663 for ; Mon, 28 May 2018 02:06:58 +0200 (CEST) Received: (qmail 34132 invoked by uid 500); 28 May 2018 00:06:57 -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 34122 invoked by uid 99); 28 May 2018 00:06:57 -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; Mon, 28 May 2018 00:06:57 +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 F03E91A0484 for ; Mon, 28 May 2018 00:06:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.284 X-Spam-Level: ** X-Spam-Status: No, score=2.284 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id uzmrhEBSGleF for ; Mon, 28 May 2018 00:06:54 +0000 (UTC) Received: from n5.nabble.com (n5.nabble.com [162.253.133.81]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 7174E5F2C4 for ; Mon, 28 May 2018 00:06:54 +0000 (UTC) Received: from n5.nabble.com (localhost [127.0.0.1]) by n5.nabble.com (Postfix) with ESMTP id C6281671C8F7 for ; Sun, 27 May 2018 17:06:52 -0700 (MST) Date: Sun, 27 May 2018 17:06:52 -0700 (MST) From: "Daniel.Sun" To: dev@groovy.incubator.apache.org Message-ID: <1527466012743-0.post@n5.nabble.com> In-Reply-To: <3A048511-18B6-470B-8834-326A8495EDB3@selskabet.org> References: <54edd56eadaa8508d9b7989cd1227bc0cf41d85e.camel@winder.org.uk> <21BEA352-96C1-4B6A-B07A-46D0FC30B9CE@selskabet.org> <1527421033164-0.post@n5.nabble.com> <710AD0C4-BA73-4C7F-A37A-FA7EC92A812F@selskabet.org> <1527425079378-0.post@n5.nabble.com> <3A048511-18B6-470B-8834-326A8495EDB3@selskabet.org> Subject: Re: Groovy 3 release MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Jesper, > 1) Don't distinguish between lambdas and closures. It's better to implement closure from scratch through native lambda, which is slim and has better performance. But closure is so versatile that we can reference its owner and delegate to implement complex DSL(e.g. gradle's DSL, which contains a lot of nested closures), so this task is not trivial. If you would like to contribute this area, that would be great! Cheers, Daniel.Sun -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html