Quote:
Originally Posted by Alan Anderson
I have seen code with too many comments. It was like
Code:
ACHK EQU * ; check if ASCII input is a letter
LDA CNV ; get the configuration value in the accumulator
SUB #64 ; subtract 64
BLT SKIP2 ; skip if less than zero
...
The first line's comment is helpful, describing what the routine is intended to do. The rest of the line-by-line commentary adds absolutely no information. It serves only to clutter the source code.
|
It added plenty of information for me. I would not have understood that snippet of code without the comments.