[Python-Dev] removing nested tuple function parameters
Andrew Koenig
ark at acm.org
Mon Sep 19 20:12:42 CEST 2005
More information about the Python-Dev mailing list
Mon Sep 19 20:12:42 CEST 2005
- Previous message: [Python-Dev] removing nested tuple function parameters
- Next message: [Python-Dev] removing nested tuple function parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> The only practical reason to like this feature is sparing the need of > finding an otherwise useless name for the formal argument. Another > reason, but not practical at all, is that the concept conveys some > elegance and originality (each programming language should ideally have > a few of these) and is enforced in other places in Python, like in the > `for' statement -- where I find implied unpacking very, very useful. One other reason: It is possible to imagine using the feature to catch some type errors at the point of call, rather than having to get into the function itself before detecting them.
- Previous message: [Python-Dev] removing nested tuple function parameters
- Next message: [Python-Dev] removing nested tuple function parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list