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

Programmer Humor

32710 readers
103 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] 3 points 1 year ago (1 children)

I don't like i and j since they are commonly used for imaginary numbers. I like to start on n. Probably because I do DSP.

[โ€“] [email protected] 10 points 1 year ago

But n is commonly used for a total number. Using an index i to iterate over a number n of elements just makes more sense IMO.