Hi,

> -----Original Message-----
> From: Bob Weinand [mailto:bobw...@hotmail.com]
> Sent: Tuesday, September 22, 2015 4:00 AM
> To: PHP internals <internals@lists.php.net>
> Subject: [PHP-DEV] [RFC] [VOTE] Short Closures
> 
> Hey,
> 
> Thanks for all your feedback in the discussion thread!
> 
> So, before I start the vote, just two quick notes:
> I've added two notes about the statement syntax and the single variable
use.
> Though a few people complained, I'm not switching to the ==> operator, as
I
> noticed many people expected typehints to work (they don't due to parser
> limitations) when they compared to Hack's short Closures. It also allows
us to
> differ syntax-wise [e.g. for typehints] from Hack without causing any
confusion
> later. Which should be the smartest choice: Avoid conflicts. (If anyone
strongly
> feels against that, he may vote no, but I would like to not bikeshed that
in this
> Vote thread, but leave it free for eventual actual issues.)
> 
> Now, the link to the RFC about Short Closures:
> https://wiki.php.net/rfc/short_closures
> or straight ahead to the vote:
> https://wiki.php.net/rfc/short_closures#vote
> 

To explain my "no" vote - the concerns about tilde usage and lack on type
hints support was decisive for me. Also, as in the example with short
definitions to access properties while it actually lacks on proper accessors
syntax- well, probably not the best example.

Regards

Anatol


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to