Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
devy
· 14y ago · 0 comments
Even though there is no native "switch" statement in Python, the same control flow structure can be done with a dict construct:
http://simonwillison.net/2004/may/7/switch/
Comments
[–]
hack_edu
14y ago
Whenever the debate comes up in official channels, there is near-unanimous support for omitting it.