281
Infallible Code (feddit.uk)
you are viewing a single comment's thread
view the rest of the comments
[-] ulterno@programming.dev 3 points 2 weeks ago

I didn't get this.

Why return book? Does that have some Blizzard reference?
And why would number == 2return false? This is a function for getting true when the number is even, right?

[-] Ebber@lemmings.world 12 points 2 weeks ago* (last edited 2 weeks ago)

Haha, you're right. I've now learned two things:

  1. I should not write code on a mobile
  2. I should not become a proof reader

At the end of the day i just wanted the function to be worse, by causing stack overflows

this post was submitted on 15 Jul 2025
281 points (94.3% liked)

Programmer Humor

25396 readers
2397 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 2 years ago
MODERATORS