5 ms·
Comments aren't for you. They're for whomever comes along later and needs to understand what you did. (Well it could be you, just several months in the future
by bhousel 17y ago
Comments aren't for you. They're for whomever comes along later and needs to understand what you did. (Well it could be you, just several months in the future).
Sure, someone could read all the code, but it's way faster to just skim and pick out the comments if you don't care about the details. Think of code commenting as a time-saving device.