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

> It's not hard to keep comments up to date if you keep them near the code and don't use a lot of boilerplate.

Yep, exactly. It only gets "complicated" when you start having these heavy-handed doc generators that are parsing your code and breaking the build.

I feel pretty strongly that sphinx, rubydoc, python docstrings et al. are fine tools, but you have to have a light touch with how they're applied. Autogenerated external docs are a separate problem, and shouldn't discourage developers from commenting their code.



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

Search: