this post was submitted on 21 Mar 2025
641 points (99.5% liked)
Programmer Humor
21809 readers
1775 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
isInHell = '(x + 1 > x)'
Fun and games till x overflows.
LOL but it was ' x + 1' not 'x += 1' tho.
We don't know what value X has. If it isn't initialised it could have any value including the maximum. Then it would overflow.
But let's be honest, that is unlikely.