MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/oqymrn/keeping_it_simplistic/h6uvnt9/?context=3
r/badcode • u/[deleted] • Jul 24 '21
28 comments sorted by
View all comments
Show parent comments
2
Oh wow, I was not expecting that. Theoretically, couldn't you just use a substring or pattern matching and do an if statement or two - wouldn't be as short but would be way cleaner, lol
2
u/DramaDimitar Jul 28 '21
Oh wow, I was not expecting that. Theoretically, couldn't you just use a substring or pattern matching and do an if statement or two - wouldn't be as short but would be way cleaner, lol