I have heard that the reason the i
variable is used so much is because there was an old computer where each variable could only be a single letter and that reserved the variables a
through h
as internal variables, leaving i
as the first one available to the programmer. This seems believable, as there would be exactly 8 reserved variables which is a nice binary number. I haven't been able to confirm or deny this story.
Is this true? If so, what system was the origin of this behaviour? If it's not true, why was i
used so much in the past?