[Python-Dev] PEP 3102: Keyword-only arguments (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Mon May 1 18:49:00 CEST 2006
- Previous message: [Python-Dev] PEP 3102: Keyword-only arguments
- Next message: [Python-Dev] PEP 3102: Keyword-only arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 ?
- Previous message: [Python-Dev] PEP 3102: Keyword-only arguments
- Next message: [Python-Dev] PEP 3102: Keyword-only arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]