FW: Switch statements again
Domenico
grayshade at libero.it
Fri Jan 17 18:56:57 EST 2003
> 1. Call it something besides 'switch', which IMHO is not intuitive as
> to its meaning. How about something like 'select case'?
one of the ugliest VB-ism's. I hope you missed a ";)" after the
question mark <.75 wink>
switch is recognized by 95% programmers or so...
switch new_syntax:
case 'switch':
print 'I guess I like this'
case 'select case':
print 'I guess I don't like this'
case 'if/elif/else':
print 'reminds me of spaghetti-programming'
else:
print 'dunno'
More information about the Python-list
mailing list