Y
Hacker News
new
|
ask
|
show
|
jobs
by
cdubzzz
1832 days ago
Do you then document the new function, though?
2 comments
lkrubner
1832 days ago
You've heard the XTreme slogan "Where you would write a comment, we would write a method"?
link
pixel_tracing
1832 days ago
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
link
cdubzzz
1832 days ago
Sure. Agreed. But I still docblock every function I write so this wouldn’t change much with respect to usefulness of the documentation.
link