Re: Re: [RFC] Arrow functions / short closures

From: Date: Mon, 15 Apr 2019 12:04:46 +0000
Subject: Re: Re: [RFC] Arrow functions / short closures
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-105285@lists.php.net to get a copy of this message
Den 2019-04-15 kl. 13:48, skrev Benjamin Morel:
Even though I was originally hoping for something closer to JS syntax, considering Nikita's summary it looks like the best contender is still fn(), as originally proposed. At least it looks like a function indeed, to the uninitiated. So FWIW, I think that a vote for the fn() syntax only still makes sense. The risk with the 2 or 3 options is never being able to reach a concensus: is a relative majority or an absolute majority for one of the syntaxes acceptable, or are you required by the RFC process to get a 2/3 majority for this vote as well? If so, considering the discussion so far, I think this will be hard to achieve with 2 choices, let alone with 3. - Ben
If it lands in a secondary three way vote I would assume it's the vote getting the most votes. Otherwise the RFC could land in a limbo, getting yes on feature but no on syntax. Good to get assumption confirmed though... r//Björn L

« previous php.internals (#105285) next »