First, write readable code.
Use comments as a last resort where the code cannot be any clearer as it is.
Remember that comments, like documentation, need to be maintained. A misleading comment is more harmful than a poorly written code.
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.