Re: Conventions for dummy name

2008-01-10 Thread Torsten Bronger
Hallöchen! [EMAIL PROTECTED] writes: > Torsten Bronger wrote: > >> [...] >> >> Right, that's because I've used "__" where not all returning >> values are interesing to me such as >> >> a, b, __ = function_that_returns_three_values(x, y) > > Variable name "dummy" serves the same purpose, such as:

Re: Conventions for dummy name

2008-01-10 Thread Torsten Bronger
Hallöchen! Ben Finney writes: > "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 entir

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