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

>I learned all that fancy Angular-specific JSDoc syntax. My code was always twice as long because it had so much documentation and so many comments

That's a very bad habit. Code should be self documenting. If you need to write comments to explain what the code does, you've done a poor job at writing it.



Comments aren't bad per se, but they should explain Why vs. How.




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

Search: