Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cdubzzz
on June 18, 2021
|
parent
|
context
|
favorite
| on:
Useful and useless code comments
Do you then document the new function, though?
lkrubner
on June 18, 2021
|
next
[–]
You've heard the XTreme slogan "Where you would write a comment, we would write a method"?
pixel_tracing
on June 18, 2021
|
prev
[–]
I think the function name is pretty self documenting, I would go a step further and make a function named addScrollBars() clear on its intention here
cdubzzz
on June 18, 2021
|
parent
[–]
Sure. Agreed. But I still docblock every function I write so this wouldn’t change much with respect to usefulness of the documentation.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: