On Mon, Aug 31, 2015 at 12:29 PM, Bob Weinand <bobw...@hotmail.com> wrote: > The short Closures RFC: > https://wiki.php.net/rfc/short_closures > I just want to toss in my two cents as someone who's been using short closures on a PHPish platform for some time already, because predictions are one thing, experience in another.
The first time I saw "==>" I was like "what the eff?", but then you know what I did? I looked up what it did, and I haven't had a problem reading it since. In fact, I have a much easier time reading a short lambda than an over verbose function declaration sitting in the middle of another expression. I don't think PHP needs to adopt every feature that the majority of the most used languages have chosen to implement, but this one should really be a no-brainer, regardless of which token is used. Because code-beauty does matter. Beautiful code is code that is easier to maintain, and code that is easier to maintain is often more secure and reliable. That's all. -Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php