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

Fortunately for me, at my current job I don't see a lot of code that makes me say "what the hell is this even trying to do?" The most useful comments are the ones explaining limitations and why this implementation was chosen, or business rules that wouldn't be apparent in the code.


Summarized by the common advice "comments should explain the why, not the what/how".




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

Search: