Re: [RFC] First-class callable syntax
| From: | Rowan Tommins | Date: | Fri, 21 May 2021 08:08:23 +0000 |
| Subject: | Re: [RFC] First-class callable syntax | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-114552@lists.php.net to get a copy of this message | ||
On 20/05/2021 23:58, David Gebler wrote:
I think this is very sensible, I can only really say I'd rather have Nikita's proposal land in 8.1 and PFAs in 9.0 done right than have PFAs in 8.1 but in a way which is confusing, ambiguous or problematic for users, or not covering reasonable expected use cases.I wholeheartedly agree with this sentiment. I hope it doesn't take until 9.0, but if we get first-class callables in 8.1 and partial application in 8.2 those are BOTH huge new features. And if by some miracle we come up with the perfect version of PFA a week after this RFC passes, that's ALSO great. Everyone: please let's keep this thread for talking about first-class callables, and focus on the semantics not just the syntax - are there edge cases we need to consider, downsides to the proposed implementation, etc? Regards, -- Rowan Tommins [IMSoP]