Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88462 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77285 invoked from network); 24 Sep 2015 06:39:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Sep 2015 06:39:56 -0000 Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.177 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.213.177 mail-ig0-f177.google.com Received: from [209.85.213.177] ([209.85.213.177:37027] helo=mail-ig0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6E/14-33598-ABA93065 for ; Thu, 24 Sep 2015 02:39:55 -0400 Received: by igbni9 with SMTP id ni9so42873068igb.0 for ; Wed, 23 Sep 2015 23:39:51 -0700 (PDT) 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-type; bh=ExNqsu1QDpbcPl0U1j/bF47i1YTYRKe/4v1Mq8DACn8=; b=Vb9le1UTPaoY48gBqVqEcnXAkg2JwfxspOLUOfuWuhFy6ZdLfNYczYZlcBs+3b9Jc2 S1kg/hwwiVZsmNJLpGS2ZoMi3L6oemod513YScr0yZUIHgfCI0sQMZ/yFKOWMHkEXCla sgO1lxSK7+f9xuwaJ/aMWS3i32wDR91eG4IDzjA6viL26DUwCWgv/+7aWxTzjD5MEvkj acG6V2xgRC7ADWtvWipDzXbbqqNTZV89H7CLrkX1hoOnAILc2aNB+/r4GYCnV4g2x/VE G3Q0zw1lAyzxXpcohbNtYE9hYg5F1kcmZQRcn2+P9VWpbOszuO9wK5ay808hx9ODKqNR dQdQ== X-Received: by 10.50.50.68 with SMTP id a4mr28084840igo.49.1443076791725; Wed, 23 Sep 2015 23:39:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.8.41 with HTTP; Wed, 23 Sep 2015 23:39:32 -0700 (PDT) In-Reply-To: References: <28.4D.56639.BB071065@pb1.pair.com> Date: Thu, 24 Sep 2015 14:39:32 +0800 Message-ID: To: Pierre Joye Cc: Andrea Faulds , PHP internals Content-Type: multipart/alternative; boundary=089e0111bb6a8e27b00520787f93 Subject: Re: [PHP-DEV] Re: [RFC] [VOTE] Short Closures From: ocramius@gmail.com (Marco Pivetta) --089e0111bb6a8e27b00520787f93 Content-Type: text/plain; charset=UTF-8 Changed my vote to "no" after thinking further into it: - I don't like the usage of the tilde: `->` and `~>` are too similar and easily confused - Using `==>` would align PHP further to hacklang, which is a plus - I'm still conflicted on automatically importing all of the scope into the closure: while it is working for functional languages, that's where most of the headaches come from in languages such as javascript. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 24 September 2015 at 14:27, Pierre Joye wrote: > On Sep 22, 2015 10:16 PM, "Andrea Faulds" wrote: > > > > > I am unhappy with the ~> syntax choice. As I've mentioned before, it's > hard to type for many people, it looks too much like ->, and it's > unnecessarily different from Hack's ==>, of which this RFC would otherwise > be proposing a strict subset. > > > > So, I am voting against. > > Same reason here. > > Thanks, > Pierre > --089e0111bb6a8e27b00520787f93--