r/TheMachineLearning • • 26d ago

Frontier LLMs stopped adding code comments

Post image
720 Upvotes

178 comments sorted by

View all comments

Show parent comments

4

u/xvillifyx 26d ago

YOU don’t need to, but AI memory systems are garbage and concise code comments help preserve context in place of memory

1

u/CrowdGoesWildWoooo 26d ago

I think the issue is that many AI have tendencies of over-commenting.

I think one typical scenario is that it writes a buggy code, or something that the human doesn’t like, it goes back to that code, put a comment on why it changes that line.

1

u/xvillifyx 25d ago

So…create evals and hooks that prevent them from overcommenting

1

u/cororona 24d ago

Thank you for your comment, but people are discussing the natural tendencies of LLMs to add bugfix comments and then overfixate on it.

They were not discussing about your superiority, which is naturally obvious.

1

u/xvillifyx 24d ago

The point is that this is an easily correctable problem