upvote
I agree 100%. Most people use comments wrong, and LLMs use the comments the most wrong. Comments should explain some context you can’t get by just reading the code. Some weirdo business decision or why you’re choosing to use the strategy you’re using.
reply
That's not my experience with LLMs, at least not Opus. They love inserting comments that describe context I provided when I saw it making a code decision I disagreed with and asked for a change, sometimes it can be excessive.
reply
It’s so obnoxious. I’ve put something in my md file telling it not to leak irrelevant conversation history or unnecessary reassurance into comments. “This method does X, not Y”. No one expected it to do Y, until you said that, and now everyone is going to be confused as to why Y was apparently on the table at all!
reply
Glad I'm not alone in thinking this. AI adds comments for EVERYTHING by default. It's unnecessary.
reply