It’s been shown that comments help the ai iterate on a codebase and implement new features on existing code. Check out Slopcodebench and see how different linters can mess up the performance of the ai
2026-08-31 02:45:23
0
M :
eh, agree and disagree. Comments aren’t needed for people. also, comments can drift sometimes which is annoying. However, certain kinds of comments are useful for LLMs. Nonobvious decisions, tradeoffs, or constraints. Warnings about traps. More directly link external context. I have a blurb in my claude.md that limits the comments to these.
2026-08-31 04:06:29
2
randomuser1737482 :
Just incase maybe?
2026-08-31 05:28:55
0
Ethan Fremen :
I find commenting very helpful, tbh
2026-08-31 01:49:51
0
myman4180 :
In a complex project the AI will leave notes for itself in the comments, especially when it fixes a bug because the code behaves in an unintuitive fashion. It’s kind of sad because we used to talk about designing code in a way that makes writing bugs more difficult, and now people just cry because the AI is “acting dumb” instead of realizing the code base is AI slop and the only thing holding it together is the infinite patience of AI to work in a crap codebase
2026-08-31 00:26:24
3
3_Dogs_And_A_Human :
and that applies to all data
2026-08-31 02:00:45
0
The Great Grahambini :
Comments are actually useful for the LLM though, for the same reason they are useful to humans. important context about why particular decisions were made that won't be obvious from the code alone, or potential pitfalls that may come up etc. Good comments are useful, but comments that just summarize what fhe code is doing isnt really useful
2026-08-30 21:01:33
5
Rory :
this is so wrong 😭 the comments are for the WHY.
hey, this method because the obvious X method doesn't work.
using library version X because version Y uses an unsupported API for example. the AI will spend a dozen cycles and bad implementation or may take production down because of this.
2026-08-31 16:06:46
0
To see more videos from user @rich_kuo1, please go to the Tikwm
homepage.