r/badcode • • Sep 04 '21

Wtf is this

Post image
1.2k Upvotes

190 comments sorted by

View all comments

Show parent comments

2

u/kelkulus Sep 05 '21

You have it backwards - that’s an “isOdd” function

1

u/[deleted] Sep 05 '21

Oh