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

Programmer Humor

31812 readers
492 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] 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.

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