3 ms·
I was teaching one of the local highschool kids how to program in C and they asked "So why does everybody use i,j, and k for their indexes in loops?"
by ChuckMcM 3y ago
I was teaching one of the local highschool kids how to program in C and they asked "So why does everybody use i,j, and k for their indexes in loops?"
- pklausler 3y agoI only use 'j' and 'k', not 'i ' -- the rarely-used letters are easier to search for.
- yellowstuff 3y agoii is also good.
- magpi3 3y agoi stands for index. j and k because we can't use i anymore, and maybe because they are close together on the keyboard