|
|
| "be consistent" | |
| PerlMonks |
Re^2: On commentsby JavaFan (Canon) |
| on Dec 24, 2010 at 23:30 UTC ( [id://879107]=note: print w/replies, xml ) | Need Help?? |
|
I recently wrote a few modules for our company where the ratio of comments vs code was about 5:1. And the code wasn't complicated. Mostly finding some maximums and value switches in sequences, followed by changing some numbers.
Still, I consider the comments to be very important. Sure, it's easy to see from the code that some numbers at the end of the sequence are changed - but without the comments, you will have no idea why it happens.
In Section
Meditations
|
|
||||||||||||||||||||||||||||||