[Python-ideas] Keyword only argument on function call

Anders Hovmöller boxed at killingar.net
Sat Sep 8 08:23:24 EDT 2018


> To me, the "30% of all arguments" deserves more careful examination.
> Does the proposal significant improve the reading and writing of this
> code? And are there other, perhaps better, ways of improving this
> code?

Maybe my tool should be expanded to produce more nuanced data? Like how many of those 30% are:

- arity 1,2,3, etc? (Arity 1 maybe should be discarded as being counted unfairly? I don’t think so but some clearly do)
- matches 1 argument, 2,3,4 etc? Matching just one is of less value than matching 5. 

Maybe some other statistics?

/ Anders
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180908/31badd1e/attachment.html>


More information about the Python-ideas mailing list