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