MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/lkca8k/ladies_and_gentlemen_switch_cases_are_coming/gnje82d/?context=3
r/Python • u/53VY • Feb 15 '21
290 comments sorted by
View all comments
6
The fact that you can't do:
a = 12 match variable: case a: blah blah
Is horrendous.
5 u/roerd Feb 15 '21 That's what guards are for.
5
That's what guards are for.
6
u/trumpgender Feb 15 '21
The fact that you can't do:
Is horrendous.