Re: [RFC] [VOTE] Short Closures
| From: | Arne Blankerts | Date: | Mon, 28 Sep 2015 11:07:19 +0000 |
| Subject: | Re: [RFC] [VOTE] Short Closures | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88527@lists.php.net to get a copy of this message | ||
Hi,
On Sa, 2015-09-26 at 10:10 +0200, Pavel Kouřil wrote:
> On Sat, Sep 26, 2015 at 9:57 AM, Stanislav Malyshev <smalyshev@gmail.com> wrote:
> > Hi!
> >
> >> The biggest issues seem to be
> >> - ~> operator instead of ==>
> >> - missing type hints
> >> - auto imports
> >
> >
> Seems you are right it's not clear after all; I skimmed through all
> the e-mails in this thread and found only around 5 people stating that
> the ~> operator was their reason to vote "no"; while I was writing the
> previous e-mail, I really thought more people stated that here; on the
> other hand, we don't know why the rest of those ~30 people voted no,
> so it's really hard to say.
For what it's worth: My reasons to vote no were a) the general
readability, particularly when the parentheses are missing as well as
the choice of operator and b) the lack of type declarations.
I can see the benefit of auto imports but consider it a break of
concepts (habit?) from everywhere else in PHP.
Regards,
Arne Blankerts
--
Those who do not understand Unix
are condemned to reinvent it, poorly (Henry Spencer,1987)
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc