463
submitted 2 months ago by sirico@feddit.uk to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] voodooattack@lemmy.world 7 points 2 months ago* (last edited 2 months ago)
bool isEven(int value) {
  return (int)(((double)value / 2.0) % 1.0) * 100) != 50;
} 
this post was submitted on 15 Jul 2025
463 points (94.8% liked)

Programmer Humor

38519 readers
732 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS