4 ms·
The use of i,j,k, etc is a convention carried over from math to CS. Edit: As are a vast majority of CS knowledge: set theory, calculus, matrix, and so on.
by Systemic33 11y ago
The use of i,j,k, etc is a convention carried over from math to CS.
Edit: As are a vast majority of CS knowledge: set theory, calculus, matrix, and so on.
- ams6110 11y agoAlso in many early programming languages, variables could be only one or two letters. And in Fortran, the variables i, j, k, l, m, n were implicitly integers and others were real (that itself was as you noted, a carryover from mathematical formula conventions).