this post was submitted on 31 Mar 2025
336 points (97.5% liked)
Programmer Humor
22156 readers
2426 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
Indexes start at 3. ๐
No no..... negative three
His index started like -6 or -4 (assuming he even existed).
I'll take it over 0, because it will force people to think with what arrays are populated. And if 1 index or 0index is appropriate instead of defaulting all arrays and loops at 0.