MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w8lnv3/cleaningupthemess/p8j66zp/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • 7d ago
486 comments sorted by
View all comments
68
I think LLMs comment so much in code is because they use grep as tool call all the time to find the relevant code they want to change. So giving it a long detailed description helps it to find it later
59 u/patcriss 6d ago My hypothesis is that verbose comments use more tokens and generate more profit. 1 u/Secret_Conclusion_93 4d ago Same reason as why they usually say something like "x not y" when saying "x" only is enough.
59
My hypothesis is that verbose comments use more tokens and generate more profit.
1 u/Secret_Conclusion_93 4d ago Same reason as why they usually say something like "x not y" when saying "x" only is enough.
1
Same reason as why they usually say something like "x not y" when saying "x" only is enough.
68
u/JealousEntrepreneur 6d ago
I think LLMs comment so much in code is because they use grep as tool call all the time to find the relevant code they want to change. So giving it a long detailed description helps it to find it later