What is "self"?
Terry Hancock
hancock at anansispaceworks.com
Fri Sep 23 12:23:24 EDT 2005
On Friday 23 September 2005 10:41 am, Rick Wotnaz wrote:
> Oh, 'ix' would be fine. Single-letter loop counters are also semi-
> fine if that is in fact their only use. It too-frequently happens
> that at some point the handy 'i' identifier is used outside the
> loop (for another placeholder), and its value is tromped by an
> intervening loop. Not terribly difficult to discover, but then
> what? When you're maintaining code, even a two-character index is a
> *lot* easier to find in source code and replace as needed.
Sorry, but if you have to grep for it, your loop is TOO DARNED LARGE,
USE A FUNCTION CALL!
--
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks http://www.anansispaceworks.com
More information about the Python-list
mailing list