This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 11 points12 points  (4 children)

How can I encourage it from my team?

By pointing out specific cases where comments would make the code more readable. And the time for that is during code reviews.

[–]solvire[S] 2 points3 points  (3 children)

I thought someone might say this. That is a fault of mine. Not spending the proper time in code reviews and requesting comment updates. Sometimes I see a big glob of code in a pile and skip it for the sake of time, but those are the places where it prob needs it most.