MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/m8l7ip/the_new_switchcase_statement_in_python_310/gri541j/?context=3
r/Python • u/jamescalam • Mar 19 '21
233 comments sorted by
View all comments
-19
omg, seriously? What was wrong in using a dict to emulate a switch-case? Do we really need new statements at this point?
6 u/CashAccomplished7309 Mar 19 '21 If you don't like the feature, you don't need to use it.I personally like it, coming from PHP. → More replies (3)
6
If you don't like the feature, you don't need to use it.
I personally like it, coming from PHP.
→ More replies (3)
-19
u/baconcleaner Mar 19 '21
omg, seriously? What was wrong in using a dict to emulate a switch-case? Do we really need new statements at this point?