Can a low-level programmer learn OOP?

Eddie Corns eddie at holyrood.ed.ac.uk
Tue Jul 17 11:29:22 EDT 2007


aahz at pythoncraft.com (Aahz) writes:

>In article <7cqo93pona4qoc4s94hh9rjrjalniilqts at 4ax.com>,
>Wolfgang Strobl  <news2 at mystrobl.de> wrote:
>>
>>SNOBOLs powerfull patterns still shine, compared to Pythons clumsy
>>regular expressions. 

>Keep in mind that Python regular expressions are modeled on the
>grep/sed/awk/Perl model so as to be familiar to any sysadmin -- but
>there's a reason why Python makes it a *library* unlike Perl.  So adding
>SNOBOL patterns to another library would be a wonderful gift to the
>Python community...

I don't believe you can get the benefit of SNOBOL matching without direct
language support.  There's only so much a library can do. However a valiant
and interesting effort:

http://www.wilmott.ca/python/patternmatching.html

Eddie



More information about the Python-list mailing list