Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
galaxyLogic
3y ago
0 comments
Share
> You can generate documentation using comments (i.e. jsdoc),
So comments are a solution to something. Don't TypeScript programmers use them as well?
0 comments
default
newest
oldest
schwartzworld
3y ago
Sometimes, but as a last resort. I'd prefer types, tests and readable code over comments, and if I feel the need to leave a comments, I usually see that as a code smell
j
/
k
navigate · click thread line to collapse