About comments, deodorant for bad code, and comment removal by refactorings

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

About comments, deodorant for bad code, and comment removal by refactorings

Klaus D. Witzel
Hi folks,

this one jumped right into my eyes: "Comments are not evil by themselves,  
but are sometimes used as a deodorant to cover bad code. Often we can  
remove the comments after doing some refactorings, because they are not  
needed anymore. The code should be self-explaining."

For the rest of "Source Code Mining for Code Duplication Refactorings with  
Formal Concept Analysis", see

- http://www.emn.fr/x-info/emoose/alumni/thesis/rriquelme.pdf

/Klaus