17

commenting on every self-explanatory variable, what it is about

Comments
  • 1
    Not that bad, I’ve fixed many a bug where the comments said one thing and the logic did something different.
  • 1
    The more comments, the better.

    You never know. What seems self explanatory to you, just might be confusing to the next guy who works with your code
  • 1
    @Stuxnet who could also be you
  • 0
    I just comment:

    // helper variables
  • 0
    Over-commenting is not a thing.
  • 0
    // comment to add a todo
    // TODO - add a todo later.
Add Comment