|
|
| P is for Practical | |
| PerlMonks |
(Ovid) RE(2): Regexes vs. Maintainabilityby Ovid (Cardinal) |
| on Sep 28, 2000 at 21:12 UTC ( [id://34511]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Hmm... I had posted this in discussion, since seekers didn't seem appropriate. Ah well.
I like your version of the second regex. Not sure about the comment regarding going overboard on the whitespace. I prefer the extra whitespace because I feel the indentation adds clarity (especially in the comments, oddly enough). Too many programmers just throw things to gether with little or no explanation. I err on the side of overcommenting, but my programs are, I think, much easier to understand. What don't you like about the whitespace?
Cheers, Join the Perlmonks Setiathome Group or just go the the link and check out our stats.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||