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

I've seen this interpreted by smart engineers in a counter-productive way, in that they believe their code is so good that none of it ever needs any comments and hence they never write them despite the fact that their code isn't all that clear. It's more hubris than anything.

Otherwise, there are many techniques you can use to make the code self-explanatory. I've taken a comment before and restructured the code to literally read like the comment.



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

Search: