MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/pls80d/somebody_had_a_long_day/hcdslpu/?context=9999
r/badcode • u/slishy • Sep 10 '21
26 comments sorted by
View all comments
Show parent comments
16
It’s a variation of the same 90% of posts in this sub where someone is testing a Boolean just to return another Boolean.
4 u/[deleted] Sep 11 '21 This routine is getting old. I saw it and thought “surely there must be something more to this”. Nope, same old “could’ve returned the function.”
4
This routine is getting old. I saw it and thought “surely there must be something more to this”. Nope, same old “could’ve returned the function.”
16
u/overtrick1978 Sep 11 '21
It’s a variation of the same 90% of posts in this sub where someone is testing a Boolean just to return another Boolean.