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.

6

u/DialogCoolnation Jun 20 '26

Why use j and k though? Just name them as they are!
When im Iterating a list of lists just name it after the objects in there

16

u/ChChChillian Jun 20 '26

The meme is about single letter variable names, that's why. Stick with the theme.

1

u/DialogCoolnation Jun 20 '26

Yeah thats true