DIP 1030--Named Arguments--Community Review Round 1 Discussion
12345swordy
alexanderheistermann at gmail.com
Tue Feb 11 17:46:46 UTC 2020
On Tuesday, 11 February 2020 at 16:37:20 UTC, Paolo Invernizzi
wrote:
> On Tuesday, 11 February 2020 at 16:26:59 UTC, 12345swordy wrote:
>
>> If you find yourself in a situation that you end up renaming
>> the arguments over and over again, then you got bigger issues
>> to worry about besides named arguments.
>>
>> -Alex
>
> Ok, that's enough for me
Look, C# has named arguments for over a decade now and you can't
opt-out of it. Breakage because of the function arguments has
changed rarely happens in practice, and if it does happen, it is
trivial to fix.
I am going to be blunt on this, but some of the plausible
scenarios being brought up is massively overblown to nonsense
territory. One of the goals of Named Arguments is readability and
so far no one has provided an alternative that is both useful and
satisfactory to me.
Opt-in named arguments? Makes the named arguments dead on arrival.
-Alex
More information about the Digitalmars-d
mailing list