named arguments, string interpolation, please stop.
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Thu Jan 11 22:37:54 UTC 2024
On 12/01/2024 11:33 AM, Timon Gehr wrote:
> If you do that D can no longer correctly implement a higher-order
> function that forms the composed function from its two arguments. It
> looks good on paper for a few minutes, but this is not a good solution
> to apply by default.
Unless we get something different that solves the same premise, opt-in
is fine.
I'm thinking explicitly for things like ``opApply``. Having giant mixin
templates that handle all combinations is far worse.
More information about the Digitalmars-d
mailing list