Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The problem is that comments visually bloat the code and make it harder to understand.

That's a good reason to avoid breaking up logical blocks of code with comments.

Its not a good reason not to comment.

> Bad code with useless comments is worse than bad code with no comments.

That's a good reason to have code review (which includes review of comments) to ensure that there is neither bad code nor useless (including out of date or misleading) comments.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: