More Perl regex stuff in E
Marc Stiegler
marcs@skyhunter.com
Fri, 16 Apr 1999 10:19:12 -0700
-----Original Message-----
From: Chip Morningstar <chip@communities.com>
To: markm@caplet.com <markm@caplet.com>
Cc: e-lang@eros.cis.upenn.edu <e-lang@eros.cis.upenn.edu>
Date: Friday, April 16, 1999 10:07 AM
Subject: Re: More Perl regex stuff in E
>MarkM sez:
>>Here's a readability test: By reading this code, can you easily tell what
>>syntax it parses?
>
>Ick. No I can't. I probably could but it would be a puzzle-solving
excercise. I
>guess regular expressions are basically a write-only notation. The
>line-broken-and-commented form that somebody mentioned would be better.
>
I am convinced that regex was invented by the same people who invented APL.
It's a
conspiracy. And the enemies of readability and maintainability are winning
:-)
Massive commentary and short expressions are the last bunkers of defense we
have :-)
--marcs