Perl is worse!

Steve Lamb grey at despair.rpglink.com
Fri Jul 28 13:05:42 EDT 2000


On 28 Jul 2000 12:49:57 -0400, Eric Lorenzo <zo at angband.org> wrote:
>But communication with the *computer* isn't actually the primary
>purpose of typing.  Rather, typing is a means for programmers to

    Funny, I thought that was what comments were for.  

match = re.match(r'(\d+)')
foo = int(match.group(1))

vs.

m/(\d+)/;
foo = $1; # should be a number

    Given the choice, I'd rather have comments, not cues in the code.  :)

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