On Mon, 12 May 2008 16:24:23 +1000, Ben Finney wrote:
[...]
> That is also regrettably common in Python code. It still suffers from
> being unnecessarily ambiguous, since there are *also* plenty of loops
> using 'i', 'j', etc. where the loop counter *is* used.
> 
> Differentiating these use cases by appropriate naming is, IMO, worth the
> effort of choosing a meaningful name.

Even if the counter is not used inside the loop's body it's still in 
control of the whole loop and, IMO, any special discriminating and non-
conventional name doesn't worth the added confusion.

-- Ivan
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to