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

I'm increasingly surprised at how much code I see without comments. Sometimes hundreds of lines without a single comment. And the author seems to act as if it is a badge of honor. "My code is self documenting" or "I know how it works -- it's obvious to me".

Then the author leaves, and management assigns someone else to take over the code, and he/she flails for months. It seems so inefficient. Management prioritizes shipping features over long-term maintainability and tests.

Are comments considered "old school"?



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

Search: