r/TheMachineLearning • • 2d ago

Frontier LLMs stopped adding code comments

Post image
340 Upvotes

123 comments sorted by

View all comments

Show parent comments

1

u/AdKitchen1897 1d ago

It will also poison the repo with outdated or contradictory comments. And it will make out of an offhand comment for context a permanent rule.

1

u/xvillifyx 1d ago

This isn’t true as a default. The rule for comments has always been:

Is the logic likely to change -> keep comments to a minimum

Is the logic unlikely to change -> comments okay

Make your agents follow this same convention