Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88463 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80168 invoked from network); 24 Sep 2015 07:04:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Sep 2015 07:04:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=jbenoit.jb@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jbenoit.jb@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.41 as permitted sender) X-PHP-List-Original-Sender: jbenoit.jb@gmail.com X-Host-Fingerprint: 209.85.192.41 mail-qg0-f41.google.com Received: from [209.85.192.41] ([209.85.192.41:34659] helo=mail-qg0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/74-33598-660A3065 for ; Thu, 24 Sep 2015 03:04:07 -0400 Received: by qgez77 with SMTP id z77so37969744qge.1 for ; Thu, 24 Sep 2015 00:04:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=018/9llVEwZ7ZpVNYIq6w98zkSftXv+rPkQoW4ggghw=; b=BNid9pJLtFZps/qd7kJy/7Cv4fVQ5M5iRqgOZaYM0Ji5CbYxJ6hBIH/Ubh6EcJBtqx Yb2IrGxWO51jOENTQUEv0R0BTYNgIYhNGucoHRCoiimtcjL/10S+3I6UoaN63oDGjSUo zKSyxcdLWSHx585m1Dk00q52m0J36DJRTv+Y0SwF2KiGVuROnoP1AGfuNuaZOI1IGam0 nnqKzORkoy5NWgutGWc7lqlvaUg0F19jTD+P8bSHYuWnO8+k1jTr2LRuL47/4lsWkDAV wCXrQ9lZ77mIHhvDpoVSAIxW9TNkTRh/sLIvMnJOYIrwD0xYOk0i8iLBTf3MSR5DwuSJ 2Gvw== X-Received: by 10.140.29.164 with SMTP id b33mr41714621qgb.37.1443078244022; Thu, 24 Sep 2015 00:04:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.67.66 with HTTP; Thu, 24 Sep 2015 00:03:44 -0700 (PDT) Reply-To: jbenoit.jb@gmail.com In-Reply-To: References: <28.4D.56639.BB071065@pb1.pair.com> Date: Thu, 24 Sep 2015 09:03:44 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=001a113a72321e4035052078d60f Subject: Re: [PHP-DEV] Re: [RFC] [VOTE] Short Closures From: jbenoit.jb@gmail.com (Julien BENOIT) --001a113a72321e4035052078d60f Content-Type: text/plain; charset=UTF-8 Hi, As a PHP developer, I agree with the possible confusion between `->` and `~>`. `==>` is a better choice IMHO, for its similarity with Hacklang syntax, as said previously. Thanks. *Julien BENOIT* *PHP & JS developer @GuestToGuest * Paris, FR. blog.julienbenoit.net 2015-09-24 8:39 GMT+02:00 Marco Pivetta : > 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 > > > --001a113a72321e4035052078d60f--