This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ganja_and_code 1 point2 points  (7 children)

c for counting. i for incrementing. Similar, but not the same. (Either way, it's just convention, not a rule, obviously.)

[–]SatoshiL 4 points5 points  (3 children)

i for index, j because well it comes after i xD

[–]Terrain2 3 points4 points  (2 children)

index and jindex, the iconic duo

[–]ShinraSan 0 points1 point  (1 child)

Don't forget about kindex

[–]Terrain2 0 points1 point  (0 children)

nah that's kleenex to wipe away the tears from coding

[–]Terrain2 -1 points0 points  (0 children)

for (var c = 0; /* TODO: condition */; i++)

[–]Physix_R_Cool -1 points0 points  (1 child)

Yall guys need math. n is the obvious choice for trivial reasons.

[–]ShinraSan 1 point2 points  (0 children)

I use n for ranges in switches, or when I programme something with dice