Comments in code are quite often a code smell. Let’s see what is suboptimal about comments and talk about some strategies to avoid them.
Comments in code are quite often a code smell. Let’s see what is suboptimal about comments and talk about some strategies to avoid them.
I guess one could understand why the author believes this if his experience has been (mostly) limited to poorly commented code.
I have also seen well commented code, but in this article I concentrate on the bad ones. Are you saying you have never seen a bad code comment?