PotatoesFall@discuss.tchncs.de to Programmer Humor@programming.dev · 6 months agoThe easiest problemdiscuss.tchncs.deimagemessage-square86fedilinkarrow-up1521arrow-down114file-text
arrow-up1507arrow-down1imageThe easiest problemdiscuss.tchncs.dePotatoesFall@discuss.tchncs.de to Programmer Humor@programming.dev · 6 months agomessage-square86fedilinkfile-text
minus-squareCethin@lemmy.ziplinkfedilinkEnglisharrow-up15·6 months ago“j” is what you’re supposed to use if you need another index variable after using “i”.
minus-squareBougieBirdie@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·6 months agoOkay, say you’ve got four inner loops (a crime on its own, I know), do you use i, j, k, l or i, j, k, ii?
“j” is what you’re supposed to use if you need another index variable after using “i”.
Okay, say you’ve got four inner loops (a crime on its own, I know), do you use i, j, k, l or i, j, k, ii?
lIIl, IIIl, lIlI and IllI
This is the way