Comments may be a code smell when it is necessary to explain what your code is doing.
Anywhere where you have some freedom to solve a problem one way or the other it may clarify why the implemented approach was chosen.
Comments may be a code smell when it is necessary to explain what your code is doing.
Anywhere where you have some freedom to solve a problem one way or the other it may clarify why the implemented approach was chosen.