this post was submitted on 09 Jul 2023
610 points (93.8% liked)

Programmer Humor

32410 readers
164 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
[–] [email protected] 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.

[–] [email protected] 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

[–] [email protected] 4 points 1 year ago (1 children)

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

[–] [email protected] 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

[–] [email protected] 1 points 1 year ago

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