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

Programmer Humor

32568 readers
708 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
[–] csm10495@sh.itjust.works 7 points 1 year ago (1 children)

If you use I,j,k.. what do you do if you need another? I hate seeing lowercase l as a var.

[–] hh93@lemm.ee 11 points 1 year ago (2 children)

If i is lowercase too then it doesn't make a difference

But tbh if your function is having mit than 3 levels of nested loops you should probably rethink that function

[–] faerbit@feddit.de 4 points 1 year ago (1 children)

... or you just work in 3D ....

[–] fangleone2526@lemmy.fmhy.ml 4 points 1 year ago

Wouldn't that be x y z or something similar then though ? You wouldn't even think to use i j k for that

[–] csm10495@sh.itjust.works 1 points 1 year ago

This is the answer my college professors would have said. Lol