Re: Re: [RFC] [VOTE] Short Closures

From: Date: Thu, 24 Sep 2015 06:39:32 +0000
Subject: Re: Re: [RFC] [VOTE] Short Closures
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-88462@lists.php.net to get a copy of this message
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 <pierre.php@gmail.com> wrote: > On Sep 22, 2015 10:16 PM, "Andrea Faulds" <ajf@ajf.me> 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 >

« previous php.internals (#88462) next »