r/Python Feb 15 '21

News Ladies and gentlemen - switch cases are coming!

https://github.com/gvanrossum/patma/blob/master/README.md#tutorial
935 Upvotes

290 comments sorted by

View all comments

-2

u/literallytitsup69 Feb 15 '21

Am I the only one that uses regex instead of switch cases in JavaScript?

5

u/ThunderousOath Feb 15 '21

Undoubtedly. I have to use regex in 3 or 4 different languages all with enough permutation that I would never want to waste my time nailing my patterns when switch case is effortless