Re: An implementation of a short syntax for closures
| From: | dukeofgaming | Date: | Thu, 04 Aug 2011 18:54:06 +0000 |
| Subject: | Re: An implementation of a short syntax for closures | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54379@lists.php.net to get a copy of this message | ||
On Thu, Aug 4, 2011 at 1:47 PM, Gwynne Raskind <gwynne@darkrainfall.org>wrote:
> On Thu, Aug 4, 2011 at 09:12, Antony Dovgal <tony@daylessday.org> wrote:
> >>> Btw, am I the only one to whom the proposed syntax seems kinda
> >>> hieroglyphic?
> >> No. I don't see at all why we need this, just like I don't see why we
> >> needed an alternative (short) syntax for arrays. This kind of syntax
> >> additions that add *no* functionality, should not be in PHP.
> > Yes, I believe we should stop this stream of alternative syntax proposals
> > and concentrate on fixing existing functionality instead of adding less
> readable ways to do
> > the same thing. I would really like to keep PHP code easily readable, not
> to turn it into
> > perl-ish write-only gibberish.
>
> 100% agreed, both about the cryptic nature of the proposed syntax and
> the need to focus on fixing existing issues. Strong -1 on a new
> syntax.
Aye, just realized watching the |=> reminded me of perl... say, I think that
is what an aneurysm feels like.