this post was submitted on 09 Jul 2023
628 points (94.0% liked)

Programmer Humor

32054 readers
1614 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 57 points 1 year ago* (last edited 1 year ago) (4 children)

i is for index. j is simply the next letter and we're too lazy to think up something meaningful

[–] [email protected] 20 points 1 year ago (1 children)
[–] [email protected] 5 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)
[–] [email protected] 17 points 1 year ago (1 children)

I always thought it stood for iterator

[–] [email protected] 7 points 1 year ago

I sometimes use it for "item", knowing full well its established meaning as index or iterator, because I'm a rebel.

[–] [email protected] 2 points 1 year ago

This is the real answer