Comment on How to properly document code?
superb@lemmy.blahaj.zone 11 months agoIf it’s not exactly novel, how many comments do you really need?
An LLM is just gonna describe the code it sees. Good comments should include information and context that is not already in the source.
CookieOfFortune@lemmy.world 11 months ago
I’m mostly talking about when you need to use JSDoc format which are usually for interfaces, so it’s usually just a chore for humans.
Probably harder to get good comments inside code, but it might still be possible.