DIP 1019--Named Arguments Lite--Community Review Round 1

Rubn where at is.this
Sun Feb 17 18:00:46 UTC 2019


On Sunday, 17 February 2019 at 17:48:33 UTC, 12345swordy wrote:
> On Sunday, 17 February 2019 at 17:09:57 UTC, Yuxuan Shui wrote:
>> And they have the problem that the name of the parameter 
>> becomes part of the API. This is something this DIP tries to 
>> solve.
> A better solution would be allowing nameless parameters 
> functions and refer the parameters by index.
>
> -Alex

That'd be worse, it'd make code less readable, the opposite of 
what named parameters are for.


More information about the Digitalmars-d mailing list