Does anyone else use this little idiom?

samwyse dejanews at email.com
Mon Feb 4 00:44:05 EST 2008


miller.paul.w at gmail.com wrote:
> My apologies if any attributions are messed up.
> 
> On Feb 3, 1:28 am, Steven D'Aprano <st... at REMOVE-THIS-
> cybersource.com.au> wrote:
> 
>>If you want an explicit name, try a variation of "dontcare". Assuming
>>that you're an English speaker.

I'm with Steven here.  I typically use 'dontcare' or 'ignore', or 
occasionally 'asdf'.  I also tend to use variables whose name-length is 
proportional to the size of their scope.

> I'd really
> prefer something like the Ruby syntax because all you have to write is
> the number of times you want to do something, and then the thing you
> want to do.  (I guess, in that respect, I'd even consider the xrange
> call a redundancy.)

I'd like to see a '..' operator that does what 'xrange' does, but I'm 
not going to hold my breath.



More information about the Python-list mailing list