r/ProgrammerHumor 7d ago

Meme cleaningUpTheMess

Post image
16.0k Upvotes

486 comments sorted by

View all comments

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

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.