logoalt Hacker News

whartung • today at 4:09 PM • 1 reply • view on HN

The reason 'i' was the first letter available was because by default identifiers starting with, I think, I-N were integers instead of float.

When I first started, with BASIC, my variable of choice was T simply because it was easy to type NEXT T in the FOR loops (why not R? I dunno...T just stuck).


Replies

kps • today at 6:55 PM

Other way around. I–N were integers rather than float because mathematics convention uses i, j, … as indices and n, m as sizes or counts.