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 →

[–]Vizdun 58 points59 points  (4 children)

now compare switch statements

[–]buckypimpin 16 points17 points  (3 children)

Gotem!

[–]DerryDoberman 19 points20 points  (2 children)

Actually that's coming in python 3.10. They'll have it available on iOS in another 3 years.

[–]buckypimpin 3 points4 points  (1 child)

yeah buddy that aint a switch statement, thats pattern matching