3 ms·
>In my multiple decades of programming I have never seen anybody write a blatantly redundant comment like that. It's not "most of the time" that people comment
by BeetleB 8y ago
>In my multiple decades of programming I have never seen anybody write a blatantly redundant comment like that. It's not "most of the time" that people comment like that, in my experience it's never.
While I share your dislike for this counterargument, it's certainly not never for me. Not even close. In my last job, I was dealing with code that had been in development for 15-20 years. We started a project to clean up the codebase. I would randomly browse people's commits. A fair amount of cleanup involved removing exactly those types of comments.
>Programmers have a job to do, and in my experience generally do not waste their time using comments to "restate obvious things and think it's a good comment".
Try working on a code base developed by engineers who are not trained in programming.