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

Code may explain what your code is doing, not necessarily why it is doing what it does in the way it does.

Comments may be a code smell when it is necessary to explain what your code is doing.

Anywhere where you have some freedom to solve a problem one way or the other it may clarify why the implemented approach was chosen.



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

Search: