Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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 reply to (Ovid) RE(2): Regexes vs. Maintainability
by Ovid
|
|