3 ms·
When you need comments, they should be clear. But when you can make the code clear enough to need no commenting, you should do that instead.
by ska 9y ago
When you need comments, they should be clear.
But when you can make the code clear enough to need no commenting, you should do that instead.
- hermitdev 9y agoComments need to explain why they are doing something, not what the code is doing. I can tell what the code is doing by reading the source. Otherwise, I agree. The code should be clear enough that no comments are needed.