|
|
| Think about Loose Coupling | |
| PerlMonks |
Re^2: improving the aesthetics of perl codeby Anonymous Monk |
| on Jan 24, 2005 at 10:21 UTC ( [id://424606]=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.
Lots and lots of comment.When I was a programming novice, I didn't comment much. When I was a programming acolyte, I commented a lot. Now I am a programming master, and I try to minize the comments in my programs. Why, you may ask. Doesn't more comments make it easier to understand what code does? Yes, it does - however, comments don't solve the cause. Comments fix the symptoms. Comments are used when the program isn't clear. If you write clearer programs, you need less comments. It's like taking painkillers. They cause the headache to go away, but it's better to stop banging your head.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||