February 20, 2020
On Thursday, 20 February 2020 at 15:34:31 UTC, 12345swordy wrote:
> [snip]
>
> I don't think nor do I expect that people would used named arguments all the time when using another persons code.
>
> -Alex

What's that saying? If some code can be written, it will be written.

Regardless, it's a problem even for your own code too. If you have a big code base that uses a mix of positional and keyword arguments, then changing the names of function parameters causes code to break.
February 20, 2020
On Thursday, 20 February 2020 at 15:51:57 UTC, jmh530 wrote:
> On Thursday, 20 February 2020 at 15:34:31 UTC, 12345swordy wrote:
>> [snip]
>>
>> I don't think nor do I expect that people would used named arguments all the time when using another persons code.
>>
>> -Alex
>
> What's that saying? If some code can be written, it will be written.
>
> Regardless, it's a problem even for your own code too. If you have a big code base that uses a mix of positional and keyword arguments, then changing the names of function parameters causes code to break.

Which it is trivial to fix, if you have right tools.

-Alex
9 10 11 12 13 14 15 16 17 18 19
Next ›   Last »