Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
maratd
on Jan 5, 2012
|
parent
|
context
|
favorite
| on:
Node.js stdlib ported to CoffeeScript (6,501 addit...
You put comments in code? I place all comments in a separate markdown file.
ZenPsycho
on Jan 5, 2012
|
next
[–]
I normally don't. Unless I do something silly like use == that could be taken as a mistake.
vertr
on Jan 5, 2012
|
prev
[–]
Could you share a link that describes this? I'm having trouble finding anything about it.
maratd
on Jan 6, 2012
|
parent
|
next
[–]
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.
leptons
on Jan 6, 2012
|
parent
|
prev
[–]
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: