DIP 1030--Named Arguments--Community Review Round 1 Discussion

bachmeier no at spam.net
Fri Feb 7 19:44:31 UTC 2020


On Friday, 7 February 2020 at 19:02:14 UTC, matheus wrote:

> "...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.".

It actively encourages a style of "just add another function 
argument". You start small and as you decide to change your 
function, it's easy to fall into the trap of adding one more 
argument, because the end user is free to ignore it.


More information about the Digitalmars-d mailing list