DIP 1030--Named Arguments--Community Review Round 1 Discussion
Paolo Invernizzi
paolo.invernizzi at gmail.com
Thu Feb 20 14:49:42 UTC 2020
On Thursday, 20 February 2020 at 11:59:13 UTC, jmh530 wrote:
> On Thursday, 20 February 2020 at 11:00:16 UTC, Atila Neves
> wrote:
>> [snip]
>>
>> Nope: https://www.python.org/dev/peps/pep-0570/
>
> 1) Pep 570 is opt-in*. It gives you a bit more control so you
> can have positional-only and key-word only arguments. However,
> if you do not opt-in, then python still has a mixed of
> positional and named arguments for everything. See the
> standard_arg function in function examples:
That's the exact reason why they proposed 570: having named
argument is not alway a win.
More information about the Digitalmars-d
mailing list