Comment by muglug
3 hours ago
Claude can add comments in code that are better just living as a comment on the PR.
You'll ask it to do something and it'll comment the code with an answer to what you asked it, rather than just explanatory comments to whoever comes after.
There's also a second issue that if the code is actually incorrect, the comment can nevertheless bolster the case for it.
Yeah, Claude insists on prompt-affirming comments, and often refers to the previous draft or implementation instead of the status quo.
> Claude can add comments in code that are better just living as a comment on the PR.
Not to Claude – its own, old comments have helped me/it solve new issues on more than one occasion.
Claude assumes humans won't look at code anymore. The comments are for the next Claude that comes in to change something.