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

Programmer Humor

32710 readers
133 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
[–] throwsbooks 14 points 1 year ago (1 children)

I always thought i for index when iterating through an array. Then you can't use i again in a nested loop so j follows.

Tho sometimes x, y if the array represents coordinates.

Only a maniac would use a, b.

[–] rarkgrames 2 points 1 year ago

One of the very first lines of code I ever wrote was:

10 FOR a = 1 TO 70

In Spectrum Basic. I do tend to use I these days, I’ve calmed down since my childhood days 😀