Why we use i, j, and k in for loops
In Fortran, all variables starting with the letters I, J, K, L, M and N are integers... (This is the source of the long tradition of using "i", "j", "k" etc as the loop indexes of "for loops" in many programming languages -- few of which have implicit typing).
I always assumed it was derived from mathematics notation conventions... like the tendency to use i, j, and k for columns in matrix operations, which can frequently translate to for loops in code.
Reblogged December 18, 2007 at 02:25 PM
CONTEMPORIST ยป Condo Building With Garage Door Windows
I'm saving this idea for my future dream home.
Reblogged December 18, 2007 at 03:15 AM

Something More Than a Machine

About Austin Marshall and Something More
Blog | Archives | Projects | Contact Me

Main weblog feed

Meanwhile, elsewhere
Other sites of interest: