why no "do : until"?

Steve Lamb grey at despair.rpglink.com
Sat Dec 30 16:55:08 EST 2000


On Sat, 30 Dec 2000 21:08:07 GMT, Fredrik Lundh <fredrik at effbot.org> wrote:
>Who said "don't init variables?"

    You did.

>Of course you should initialize a variable when it has a meaning-
>ful initial value.

    It does have meaning.

>But in this case, the initial value is just something you made up
>to get into the loop.  

    That would be the meaning.  Otherwise it is uninitted and nothing, or
something unexpected, happens.  Sorry, *plonk*.  You want to argue for
argument's sake, fine.  But I don't think I need any of your poor advice.

-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------



More information about the Python-list mailing list