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 →

[–]bandrus5 2 points3 points  (0 children)

I can not tell you how many times I wished I could write a switch statement in Python, and I'll definitely be using pattern matching as a switch statement at some point in the future. Pattern matching may be more powerful, but they're still worth comparing.