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

Agreed with OP; my succinct version is: use comments for why not what.

E.g. comments about "what" will be repetitive, out-of-date, etc.

But comments about "why" we're doing something a particular way, especially if it's odd, are great sign posts to future maintainers.



Precisely




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: