Skip Navigation

why not a,b or x,y?

98

You're viewing a single thread.

98 comments
  • 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.

    • 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 😀

You've viewed 98 comments.