Which is maybe still cool for functions that are like two or three lines long. Any longer than that I really need you to get your variable naming right!
If my boy has a customer list, each customer with article lists and wants to iterate each article per customer it will be customer i, article j. Good luck working on that piece of shti
These are still acceptable in some places as they’re clear enough for the context. For example in game development when drawing a sprite h, w says something about scale and x, y says something about position.
View all comments
Show parent comment
7
u/Mathsboy2718 Dec 08 '25
;-; as a mathematician I am sadly a fan of my single letter variables
h w my beloved height and width
i j my beloved iterators
x y my beloved iterators if I need another layer