zlacker

[parent] [thread] 4 comments
1. branda+(OP)[view] [source] 2025-05-06 15:54:29
It's certainly annoying, but you can try following up with "can you please remove superfluous comments? In particular, if a comment doesn't add anything to the understanding of the code, it doesn't deserve to be there".
replies(2): >>diggan+w5 >>shawab+f9
2. diggan+w5[view] [source] 2025-05-06 16:23:02
>>branda+(OP)
I'm having the same issue, and no matter what I prompt (even stuff like "Don't add any comments at all to anything, at any time") it still tries to add these typical junior-dev comments where it's just re-iterating what the code on the next line does.
replies(1): >>tough+jh
3. shawab+f9[view] [source] 2025-05-06 16:45:50
>>branda+(OP)
You don't need a follow up

Just end your prompt with "no code comments"

replies(1): >>branda+1I
◧◩
4. tough+jh[view] [source] [discussion] 2025-05-06 17:32:54
>>diggan+w5
you can have a script that drops them all
◧◩
5. branda+1I[view] [source] [discussion] 2025-05-06 20:23:54
>>shawab+f9
I prefer not to do that as comments are helpful to guide the LLM, and esp. show past decisions so it doesn't redo things, at least in the scope of a feature. For me this tends to be more of a final refactoring step to tidy them up.
[go to top]