On 08/06/2017 13:33, Björn Larsson wrote:
One reason (not the only one) for me to advocate ==> syntax is that it's the same syntax as HACK
I'm not a fan of this logic. Using Hack as a kind of prototyping-ground for PHP features is fine, but since they don't have the same decision-making process as us, we should be looking at the *result* of their experience, not just following their lead. It may seem a subtle difference, but to me "because that choice has worked out well in Hack" is a much stronger argument than "because the small team working on Hack chose it that way a few years ago".
In this case, there's some reason to question if it *has* worked out well in Hack, given that IIRC they had to hack (no pun intended) their parser to implement it.
Regards, -- Rowan Collins [IMSoP] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php