• @throwsbooks@lemmy.world
    link
    fedilink
    141 year ago

    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.

    • @rarkgrames@lemmy.world
      link
      fedilink
      21 year ago

      One of the very first lines of code I ever wrote was:

      10 FOR a = 1 TO 70

      In Spectrum Basic. I do tend to use I these days, I’ve calmed down since my childhood days 😀