this post was submitted on 29 Aug 2023
66 points (72.3% liked)
Programmer Humor
32396 readers
497 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
-8 bytes
for (int i=1;;i++)
Not quite the same, there's a subtle but significant difference
Which is?
What happens on the next iteration when i = 2,147,483,647 for each of our loops?