[Python-Dev] PEP 3102: Keyword-only arguments

Fredrik Lundh fredrik at pythonware.com
Mon May 1 18:49:00 CEST 2006


Terry Reedy wrote:

> And again, why would you *make* me, the user-programmer, type
>
> make_person(name=namex, age=agex, phone=phonex, location = locationx)
> #instead of
> make_person(namex,agex,phonex,locationx)
> ?

because a good API designer needs to consider more than just the current
release.

I repeat my question: have you done API design for others, and have you
studied how your API:s are used (and how they evolve) over a longer period
of time ?

</F>





More information about the Python-Dev mailing list