The Python Oracle

Is there any value to a Switch / Case implementation in Python?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game Looping

--

Chapters
00:00 Question
03:35 Accepted answer (Score 3)
04:25 Answer 2 (Score 6)
05:41 Answer 3 (Score 5)
06:18 Answer 4 (Score 4)
06:51 Thank you

--

Full question
https://stackoverflow.com/questions/5440...

Question links:
[include file on github]: https://github.com/jerfelix/switch_case

Answer 3 links:
[switch statement]: http://en.wikipedia.org/wiki/Switch_stat...
[jump table]: http://en.wikipedia.org/wiki/Jump_table

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #case #switchstatement

#avk47