[Python-Dev] PEP 3102: Keyword-only arguments (original) (raw)

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

makeperson(name=namex, age=agex, phone=phonex, location = locationx) #instead of makeperson(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 ?



More information about the Python-Dev mailing list