Comment by spenczar5
17 hours ago
Of course, these are awful for a human. But I wonder if they're actually helpful for the LLM when it's reading code. It means each line of behavior is written in two ways: human language and code. Maybe that rosetta stone helps it confidently proceed in understanding, at the cost of tokens.
All speculation, but I'd be curious to see it evaluated - does the LLM do better edits on egregiously commented code?
It would be a bad sign if LLMs lean on comments.
Excessive comments come at the cost of much more than tokens.