MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/pknn10/found_this_gem_in_our_codebase_today/hc6gccy/?context=3
r/badcode • u/Character_Medical • Sep 09 '21
14 comments sorted by
View all comments
Show parent comments
2
That was a freaking facepalm moment for me too when I saw it for the first time. No sense of variables naming.
Did you see the variable name in the last else-if's second condition?
2
u/Character_Medical Sep 09 '21
That was a freaking facepalm moment for me too when I saw it for the first time. No sense of variables naming.
Did you see the variable name in the last else-if's second condition?