|
|
|
|
|
by methodover
4467 days ago
|
|
I cannot recall a time in my career as a programmer where the inclusion of a comment has caused me serious problems. However, I can recall many, many times where I've read code that does something odd, and wished that there was some documentation explaining it. I've met many programmers who rarely comment and make points similar to those made in this article. It's an easy argument: code should be self-documenting. But I've seen too many programmers jump from "code should be self-documenting" to "I shall never use comments/docstrings." I feel like the problems outlined in the article are overstated. It really isn't a big deal when you read a comment that doesn't make sense, or is empty of content. It's a much bigger deal when you read strange code which really deserves documentation but there is no documentation. |
|