Python vs. Perl, which is better to learn?

Mark McEahern marklists at mceahern.com
Wed May 1 10:31:00 EDT 2002


[brueckd at tbye.com]
> IMO this is what makes the Python way a Good Thing - that tiny bit of
> extra effort required to use them (hopefully) makes a person stop and
> consider if re's really are the right tool. It's pretty common to have
> someone wondering how to reduce the complexity and/or improve the
> performance of their re and have the answer be "don't use an re" or "do
> more of the work outside the re".

What's that saying?  It goes something like,

Suppose you have a problem that you think requires regular expressions.  Now
you have two problems.

;-)

// mark






More information about the Python-list mailing list