in reply to Re: Code for readablity or fewer lines?
in thread Code for readablity or fewer lines?
Optimization is good to the point where code starts to lose clarity. Unless the application has to be really optimized. It optimization is the case, then add copius comments so when you or someone else comes back a year later to enhance or fix it - again people time.
I also agree, that I like to over-comment. A year from now I want to know what I was thinking when I go back and look at my code. Besides, comments don't add anything to the actual executable, they are discarded at compile time.
Mike - mps@discomsys.com
"The two most common elements in the universe are hydrogen... and stupidity."
Harlan Ellison
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Code for readablity or fewer lines?
by howard40 (Beadle) on Feb 28, 2001 at 02:54 UTC |