4 ms·
I wonder why they didn't use `==>`, which PHP alternatives like Hack[1] already use. [1] https://docs.hhvm.com/hack/functions/anonymous-functions https://docs.
by mFixman 7y ago
I wonder why they didn't use `==>`, which PHP alternatives like Hack[1] already use.
[1] https://docs.hhvm.com/hack/functions/anonymous-functions https://docs.hhvm.com/hack/functions/anonymous-functions
- johannes1234321 7y agoIn the end it's a matter of taste and preference. There are other options as well. Each contributor (and user) certainly has a favorite and in the end it is the solutions with biggest support (and least objection) Bike shedding can certainly be done infinitely and sometimes one has to make a choice and move on. (I have been release manager of PHP in earlier times and helped to steer through the namespace seperator debate and did the decision to not do short array syntax, yet, but wasn't involved in the short function syntax debate)