Re: Explicit callee defaults

From: Date: Sat, 27 Jul 2024 12:52:01 +0000
Subject: Re: Explicit callee defaults
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Sat, Jul 27, 2024, at 11:50, Bilge wrote:
> On 27/07/2024 10:41, Rob Landers wrote:
>> 
>> This seems like a case for code generation
> I 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?

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.

— Rob


Thread (11 messages)

« previous php.internals (#124647) next »