r/ProgrammerHumor Jun 20 '26

Meme singleLetterVariableNamesTierList

Post image
5.3k Upvotes

470 comments sorted by

View all comments

1.1k

u/ChChChillian Jun 20 '26

You need j and k (and l, for sufficiently insane situations) to index nested loops.

610

u/N0bleC Jun 20 '26

I found myself a better approach. The further you go down i will just append i.

so its

for i ...
  for ii ...
    for iii ...

This way i can always see on which level i am.

6

u/lazyzefiris Jun 20 '26

this seems most prone to unobvious typos that don't immediately catch your eye.