On 12/06/2022 18:21, Larry Garfield wrote:
The primary target of this RFC is people writing 2-4 line closures that import 
1-2 variables


The first half of that sentence I was expecting - although as I've already said, I think the chosen syntax suggests strongly that the RFC is really targeting *all* closures, not any subset of them.

The second half makes much less sense. If you are only importing 1 or 2 variables, is writing their names really that big a burden?

Several of the conversations I've had on this in the past have been very explicitly about the burden of large numbers of captures; if that's really as rare as you suggest, it makes me wonder why we're even bothering.

Regards,

--
Rowan Tommins
[IMSoP]

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

Reply via email to