Comment on Why abc, xyz, etc.?
HakFoo@lemmy.sdf.org 2 days ago
I believe the IJK convention comes from an early programming language where those variables defaulted to a decimal type so thry were sane choices for loop counters.
Comment on Why abc, xyz, etc.?
HakFoo@lemmy.sdf.org 2 days ago
I believe the IJK convention comes from an early programming language where those variables defaulted to a decimal type so thry were sane choices for loop counters.
Successful_Try543@feddit.org 2 days ago
Actually, the use of i,j,k as counters is older than programming. It’s more like the other way round. They implemented making variables starting with i, j, k implicitly integer by default, as i, j, k were commonly used for indexing.