minus-squarethrowsbooks@lemmy.worldtoProgrammer Humor@lemmy.ml•why not a,b or x,y?linkfedilinkarrow-up14·1 year agoI always thought i for index when iterating through an array. Then you can’t use i again in a nested loop so j follows. Tho sometimes x, y if the array represents coordinates. Only a maniac would use a, b. linkfedilink
I always thought i for index when iterating through an array. Then you can’t use i again in a nested loop so j follows.
Tho sometimes x, y if the array represents coordinates.
Only a maniac would use a, b.