465
Peak code reuse (eviltoast.org)
you are viewing a single comment's thread
view the rest of the comments
[-] a14o@feddit.org 50 points 4 weeks ago

To fix this, add if(num == 255) return true; before line 10.

[-] CannonFodder@lemmy.world 24 points 4 weeks ago

Peak efficiency there.

But use 2147483647 to be safe.

this post was submitted on 12 Sep 2025
465 points (100.0% liked)

Programmer Humor

26799 readers
2258 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