Comment

Comment by BurningFrog

The big problem with comments is that they need to be maintained. When the code changes, the comments need to change with it.

The never, ever happens consistently.

So soon you have the "man with two watches" problem. The code says one thing, and the comments say another. You could fix it, and sometimes you spend that time, but inevitably you also stop reading the comments, since they're not reliable.

I've never seen this not happen in comment heavy projects.

parent BurningFrog 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton