this post was submitted on 09 Jul 2023
623 points (93.9% liked)

Programmer Humor

32410 readers
320 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 (4 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 (3 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

load more comments (1 replies)
load more comments (1 replies)