this post was submitted on 23 Apr 2026
440 points (97.4% liked)
Programmer Humor
31201 readers
680 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
Beginner mistake, which is perfectly fine! Just use
i-1inside the loop andi <= values.Lengthas the condition.My favorite:
Perfectly valid in C-style, even if it does look a bit puzzling at first.
That should be a war crime.
From the river to the C