this post was submitted on 13 Jun 2023
25 points (100.0% liked)

Programmer Humor

19488 readers
436 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 1 year ago (1 children)
bool isEven(int num) {
   return !isOdd(num);
}

bool isOdd(int num) {
   return !isEven(num);
}
[โ€“] [email protected] 1 points 1 year ago

Legends say this code runs faster than what the op posted. StackOverflow Errors are surprisingly fast in most languages