Re: Explicit callee defaults
| From: | Bilge | Date: | Sat, 27 Jul 2024 12:57:56 +0000 |
| Subject: | Re: Explicit callee defaults | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124648@lists.php.net to get a copy of this message | ||
On 27/07/2024 13:52, Rob Landers wrote:
On Sat, Jul 27, 2024, at 11:50, Bilge wrote:I understand your point is that preprocessors could solve this problem, and I agree, preprocessors can solve a lot of problems. However, that point seems entirely orthogonal to this discussion. Cheers, BilgeOn 27/07/2024 10:41, Rob Landers wrote:In your example you show how to write code that does what you want, but also that it is annoying to write by-hand. Thus, generating the code instead of writing it by-hand might be better than a new language feature; and there are many things that would benefit from that. — RobThis seems like a case for code generationI don't understand how this has anything to do with code generation. I understand what composer-attribute-collector is doing, and see no application for it (or something like it) here. Could you explain a bit further?