Hacker News new | past | comments | ask | show | jobs | submit login

You put comments in code? I place all comments in a separate markdown file.



I normally don't. Unless I do something silly like use == that could be taken as a mistake.


Could you share a link that describes this? I'm having trouble finding anything about it.


Just take a look at how Mootools or Node.JS takes care of their documentation. Same principal. There is no need for comments/documentation to muck up code.


Put comments in code, and then run your code through YUI or similar to strip the comments and whitespace when deploying.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: