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.
There were times I’ve done line-by-line commenting to reverse engineer code I’ve written in the past. Also very important in case of Assembly and similar problematic languages.
I’ve also done some line-by-line stuff to show how my engine is initialized, so people will understand why a given line is there and not just have to know what lines they must type in.
Yeah, comments are absolutely necessary in languages like assembly and gcode.
I give you that, but I am not talking about assembly languages, therefore the examples from my blogpost aren’t showing any :-)