Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I both agree and disagree. I notice that the more experienced a programmer is, the more useful the comments in the code are. A good programmer codes in a way that comments on how the current code works doesn't need any comments, nor do the variable names or their purpose(s). What does need comments is the reason why the current code uses a specific algorithm or - maybe double as important - why a certain other, maybe more obvious, algorithm was not used. Those are the most valuable types of comments in code IMHO. Even if the original reason turns out not to be true after 15 years of hardware development or different compiler optimizations. Enjoy, Have FUN! H.Merijn In reply to Re^2: On comments
by Tux
|
|