DIP 1019--Named Arguments Lite--Community Review Round 1
Dominikus Dittes Scherkl
dominikus.scherkl at continental-corporation.com
Thu Feb 28 09:22:31 UTC 2019
On Thursday, 28 February 2019 at 08:32:22 UTC, FeepingCreature
wrote:
> I have literally never done that, whereas I reorder function
> parameters relatively often. Do you really rename function
> parameters more often than inserting a new required parameter
> in the middle?
A function taking more than 2 parameters is a design flaw on its
own, I think. Let alone adding new parameters _in_the_middle_
(shudder). You should almost always be better off taking a struct
as parameter.
More information about the Digitalmars-d
mailing list