Another stab at a "switch/case" construct (for Python 3000):
Steve Lamb
grey at despair.dmiyu.org
Thu Mar 28 17:22:04 EST 2002
On Thu, 28 Mar 2002 07:52:45 -0800, Ken Peek
<Ken.Peek at SpiritSongDesigns.comNOSPAM> wrote:
> Well, what do you think?
case: Don't like it. We already have means to do what a case does and do it
more elegantly. It would add a needless redundant portion to the language.
unless: Do a deja search on while 1 on this newsgroup. It has been hashed to
death. Short form, while can be manipluated to be any of the special case
loops, until is a special case loops, we should not add things for special
case loops when the generic construct, while, works just fine.
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
ICQ: 5107343 | main connection to the switchboard of souls.
To email: Don't despair! | -- Lenny Nero, Strange Days
-------------------------------+---------------------------------------------
More information about the Python-list
mailing list