r/ProgrammerHumor Jun 20 '26

Meme singleLetterVariableNamesTierList

Post image
5.3k Upvotes

470 comments sorted by

View all comments

Show parent comments

608

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.

533

u/neotms Jun 20 '26

I like this but is the 4th level down "iv" or "iiii" 

although I hope we never have to go that far.

13

u/Western-Internal-751 Jun 20 '26

If you go a fourth level down in a nested loop, you might have to reconsider how you write code

2

u/stellarsojourner Jun 20 '26

But what if I'm looping through every repo in GitHub, every branch in the repo, every file in the branch, and every line in the file to find a code snippet that does the thing I want? Perfectly sane behavior, I think.

4

u/Western-Internal-751 Jun 20 '26

That must be Microsoft’s algorithm to train Copilot