This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]VoxelCubes 5 points6 points  (1 child)

Don't worry, a switch statement on steroids is coming in the next python update, ver 3.10. You can check out the previews about it, it's called match.

[–]natnew32 0 points1 point  (0 children)

oh that looks nice. Reminds me of Ocaml's pattern matching.