|
|
|
|
|
by kitd
1286 days ago
|
|
In JavaScript, you’ll often see i, j and subsequent letters as iteration variables. i is not descriptive, and j is somehow even less so. Using i & j etc for indices dates back to older versions of FORTRAN where the variable type depended on the first character of the name, with i- n reserved for integers. Quite why the convention has persisted for so long is one of SW Engs little mysteries. |
|