this post was submitted on 28 Mar 2024
611 points (98.1% liked)

Programmer Humor

32568 readers
128 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] 4 points 8 months ago (1 children)

I sometimes use n as my loop variable (⌐■_■)

[–] [email protected] 2 points 8 months ago (1 children)

n is genrally the max though. “From i=0 to n” is used in math all the time.

[–] [email protected] 1 points 8 months ago (1 children)
[–] [email protected] 1 points 8 months ago

Which is fine, only it might confuse whoever then has to maintain your code.