A TA in my intro to C class told me to stop commenting every single line, and it stung for about a day
I was writing stuff like // set x to 5 on every other line back in my CS 101 class at Ohio State, thinking more comments meant better code. The TA pulled me aside after my third assignment and said my comments were just restating the code, and that I should explain why I did something, not what the line already says. Six months later I still catch myself writing junk comments sometimes, so how do you decide when a comment is actually worth adding?