this post was submitted on 15 Jul 2025
458 points (94.9% liked)
Programmer Humor
37235 readers
16 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You could use a loop to subtract 2 from the number until it equals one or zero
Or literally just look at its binary representation. If the least significant digit is a "1", it's odd, if "0", it's even. Or you can divide by 2 and check for a remainder.
Your method is just spending time grinding away CPU cycles for no reason.
Sorry we're not all fucking math nerds like you who knows words like "significant" or "binary" or "divide", Poindexter. Some of us make do with whatever solution is available!
We know you were being satire. IMO it is of decent manner if you add "/s" to be explicit so when responding a serious reply, because this is not a satire comment chain.
Sorry we're not all fucking satire nerds like you who knows words like "serious" or "satire" or "/s", Poindexter. Some of us make do with whatever solution is available!
What should all the non binary people do then you bigot
Wasn’t the fun the CPU cycles we wasted along the way?
are you my TA that I mentioned in the other comment
Maybe. And I can't blame it on not having had coffee when I made the comment. Just me being completely oblivious to a joke.