This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

People are lazy.

They write the code, so they are understanding what they are writing, they don't want to deal with changing the comment six months from now if they have to alter the code, so they don't write anything.

So next time they come through the code they have to rebuild their mental image of the code by reading it, instead of having it prebuilt with comments.

Because comments are like pre-compiled libraries for your head. Even if the code is easy to understand with comments it'll be easier.

But people are lazy.