5 ms·
> You can generate documentation using comments (i.e. jsdoc), So comments are a solution to something. Don't TypeScript programmers use them as well?
by galaxyLogic 4y ago
> You can generate documentation using comments (i.e. jsdoc),
So comments are a solution to something. Don't TypeScript programmers use them as well?
- schwartzworld 4y agoSometimes, 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