coding convention conversion

Steve Lamb grey at despair.rpglink.com
Sun Dec 24 12:26:14 CET 2000


On Sun, 24 Dec 2000 01:29:59 +0000, Garry Knight <garryknight at bigfoot.com>
wrote:
>In article <slrn949c13.40l.grey at teleute.rpglink.com> "Steve Lamb"
><grey at despair.rpglink.com> wrote:
>>     Anyone else find it ironic that someone is solving a problem using
>>     Perl in a Python group when the comparable Python would be an
>>     excellent exercise to perform?  :)

>IMHO some languages seem to fit some tasks better than others. Perl is
>designed for just this kind of job. A Python solution would, however,
>be far more readable: I have to look very closely at my Perl code to
>double-check it. On the other hand, the Python solution would probably
>be a fair bit longer.

    How so?  The only part I got stuck on on the Python version was the \l\1
construct in the regular expression.  Aside from that it was not significantly
longer.

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