[comp.lang.c] About the variable 'I'

rockwell@socrates.umd.edu (Raul Rockwell) (05/07/91)

Morgan Schweers:
   >    As for the person who screamed about 'C' programmers using 'i'
   >in for loops, I've found that it makes it Real Clear(tm) that that
   >is nothing more than an incremental loop counter.

Norman Diamond:
   If you use a more descriptive name, then the loop can say WHAT it's
   counting and thereby ease the burden on "countless" maintenance
   programmers.

Seems to me that WHAT it's counting is best determined by looking at
where the loop starts and stops.  (Unless maybe you've got a
tremendously large loop body, and the loop header is going to be
several pages back from where you use the counter.)

Raul Rockwell