|
|
|
|
|
by nugator
2974 days ago
|
|
Sorry to say that I'm one of those guys.
I never comment code that is straightforward and easy to understand if I succeed with naming classes, methods and variables right.
If I need to solve something in an illogical way due to other requirements/bugs that are out of my control I comment it. I have read to many comments stating the obvious or that are just plain wrong. No comments are better than comments with errors. The code is the only true fact. |
|
I think that's fine. I only comment code that is not obvious, breaks common idioms used in the code base or stuff that seems stupid but is actually needed because of legacy code or systems.