News for hackers. Stuff that matters.
Re:How to become a programmer by boucher on Tuesday December 18, 2007 @08:33PM (#90980)
and, as always, take other people's rules (of thumb) and guidelines with a grain of salt. there's almost always someone who will argue the opposite, all, or part of the time.

( i for one will continue to name my counters i :-) )

Re:How to become a programmer by Goladus on Wednesday December 19, 2007 @05:16PM (#91298)
A long time ago I started naming mine 'ii' or some variant of 'index' for exactly the reason mentioned (wouldn't confuse search/replace).

Although I often try to avoid using counters at all via foreach or recursion.