Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
sanderjd
2y ago
0 comments
Save
Share
Comments aren't for "what does this code do?", they are for "why does this code do this?".
0 comments
2 comments · 1 top-level
top
newest
oldest
jinay
2y ago
· 1 in thread
Agreed. I don't advocate for no comments in code, just that many comments tend to explain "what" as a consequence of poor naming.
sanderjd
OP
2y ago
Indeed. We agree. People shouldn't do that :)
j
/
k
navigate · click thread line to collapse