Re: Conventions for dummy name (was: for loop without variable)

2008-01-10 Thread Jeroen Ruigrok van der Werven
-On [20080110 00:21], Ben Finney ([EMAIL PROTECTED]) wrote: >The problem with the '_' name is that it is already well-known and >long-used existing convention for an entirely unrelated purpose: in >the 'gettext' i18n library, the '_' function to get the >locally-translated version of a text string.

Re: Conventions for dummy name (was: for loop without variable)

2008-01-09 Thread MRAB
On Jan 9, 11:17 pm, Ben Finney <[EMAIL PROTECTED]> wrote: > "Diez B. Roggisch" <[EMAIL PROTECTED]> writes: > > > The underscore is used as "discarded" identifier. So maybe > > > for _ in xrange(10): > > ... > > The problem with the '_' name is that it is already well-known and > long-used exist

Conventions for dummy name (was: for loop without variable)

2008-01-09 Thread Ben Finney
"Diez B. Roggisch" <[EMAIL PROTECTED]> writes: > The underscore is used as "discarded" identifier. So maybe > > for _ in xrange(10): > ... The problem with the '_' name is that it is already well-known and long-used existing convention for an entirely unrelated purpose: in the 'gettext' i18n