Perl is worse! (was: Python is Wierd!)

Steve Lamb grey at despair.rpglink.com
Fri Jul 28 11:42:01 EDT 2000


On Fri, 28 Jul 2000 15:16:29 +0200, Alex Martelli <alex at magenta.com> wrote:
>Right, make it a list.  I.e., instead of
>    a=None
>start out with
>    a=[]
>and you're done.  What's hard about this?

    And if a can also be a string?

>Clumsy!  Just set a=[] once, outside of the loop -- how much easier can it
>get?

    Uhm, if you need to ask that, then you haven't read this thread.  ;)

-- 
         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