DEV Community

[Comment from a deleted post]
Collapse
 
pawelsalawa profile image
Pawel Salawa

I recognize three stages of commenting throughout the career:

  1. I don't comment. It's waste of time and energy.
  2. I comment wherever I feel it's necessary. It saves time in future and helps others.
  3. Can I rewrite this part of code, so it does not need a comment? I will comment only otherwise.