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

Programmer Humor

32396 readers
1757 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
[โ€“] bilb@lem.monster -2 points 1 year ago* (last edited 1 year ago) (3 children)

WTF, I have never used nor seen "j."

I don't usually have to name these variables these days though. Pretty much everything I use has foreach or some functional programming type stuff.

And like that, the off-by-one mistakes disappear.

[โ€“] karbonkel@beehaw.org 3 points 1 year ago

j is for a loop in a loop.

load more comments (2 replies)