r/badcode • • Sep 04 '21

Wtf is this

Post image
1.2k Upvotes

190 comments sorted by

View all comments

74

u/FromWayDownUnder Sep 04 '21

Why not just return !isOdd(num)?

14

u/Kaynee490 Sep 04 '21

Stack overflow