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

From: Date: Wed, 10 Apr 2019 23:43:39 +0000
Subject: Re: Re: [RFC] Arrow functions / short closures
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-105228@lists.php.net to get a copy of this message
On 10 April 2019 21:56:41 BST, "Björn Larsson" <bjorn.x.larsson@telia.com> wrote: >Could then the \($x) syntax be a good compromise between >readability & implementation? Personally, I don't find it "more readable"; on the one hand, it's one character shorter; on the other, it stands out less from everything else. My personal bias against it is that I'm too used to reading \ as "escape", so every time I see examples my first reaction is "what does an escaped parenthesis mean?" I'm sure I'd get used to it, but I prefer "fn" because it more immediately makes me think "function". Regards, -- Rowan Collins [IMSoP]

« previous php.internals (#105228) next »