[Python-Dev] More Switch: Explicit freezing

Josiah Carlson jcarlson at uci.edu
Sun Jul 2 07:46:57 CEST 2006


Talin <talin at acm.org> wrote:
> Here's another stab at the "explicit freezing" school of thought on the 
> switch semantics. The idea is to borrow the freeze protocol and apply it 
> to functions.

-1 .  Freezing was previously questionably useful in the realm of
general data structures.  Using switch/case as a use-case for this
functionality, I think, is a non-starter.

 - Josiah



More information about the Python-Dev mailing list