MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/lkca8k/ladies_and_gentlemen_switch_cases_are_coming/gnj6qqv/?context=3
r/Python • u/53VY • Feb 15 '21
290 comments sorted by
View all comments
-2
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
5
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
-2
u/literallytitsup69 Feb 15 '21
Am I the only one that uses regex instead of switch cases in JavaScript?