[Python-Dev] PEP 3103: A Switch/Case Statement (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Thu Jun 29 01:34:58 CEST 2006
- Previous message: [Python-Dev] PEP 3103: A Switch/Case Statement
- Next message: [Python-Dev] PEP 3103: A Switch/Case Statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Talin wrote:
The case -> sub mapping doesn't need to be defined every time - that's the point, you as the programmer decide when and how to construct the dictionary,
Then you seem to be proposing a variation on the constant-only case option, with a more convoluted control flow.
-- Greg
- Previous message: [Python-Dev] PEP 3103: A Switch/Case Statement
- Next message: [Python-Dev] PEP 3103: A Switch/Case Statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]