Welcome to the Monastery | |
PerlMonks |
Re: What makes a comment "obnoxious"?by saberworks (Curate) |
on Sep 09, 2007 at 01:05 UTC ( [id://637883]=note: print w/replies, xml ) | Need Help?? |
Yes, I find large groups of hash marks completely annoying. Your subs should be separated by meaningful comments that detail what the function does, what it expects as arguments, and what it returns. If you have a decent syntax-highlighting editor, your pod comments should be enough to provide a very easy-to-see separation between your subs. If I'm scanning through subroutines, I just search for the word "sub" and hit next, next, next, etc.
In Section
Seekers of Perl Wisdom
|
|