DIP 1030--Named Arguments--Community Review Round 1 Discussion
matheus
matheus at gmail.com
Fri Feb 7 19:02:14 UTC 2020
On Friday, 7 February 2020 at 03:33:26 UTC, Jonathan M Davis
wrote:
> Well, I'll say again that I don't like the idea of having named
> arguments in the language, because it makes the parameter names
> part of the API, resulting in yet more bikeshedding and yet
> another thing that can't be changed without breaking existing
> code. Once in a while, named arguments may be useful, but for
> the most part, they're useful because a function has way too
> many parameters, in which case, the function should have been
> designed differently.
+1. I never used this feature in C# for example.
Like you said:
"...named arguments may be useful, but for the most part, they're
useful because a function has way too many parameters, the
function should have been designed differently.".
Matheus.
More information about the Digitalmars-d
mailing list