in reply to RE: Regexes vs. Maintainability
in thread Regexes vs. Maintainability
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,
Ovid
Join the Perlmonks Setiathome Group or just go the the link and check out our stats.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: (Ovid) RE(2): Regexes vs. Maintainability
by japhy (Canon) on Sep 29, 2000 at 04:21 UTC |