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

Since you bring up Fowler, in his book Refactoring he gives specific examples to show why you should AVOID comments. In most situations you should try to write code that is so clear no comments are needed. That's what the above code is really about.


This! Far too often I see worthless comments because people were taught in school "you should comment your code".




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

Search: