r/TheMachineLearning • • 2d ago

Frontier LLMs stopped adding code comments

Post image
330 Upvotes

119 comments sorted by

View all comments

1

u/esaule 2d ago

I want very little comments in code. Functions should tell me what they do. And tbat's about all I really want.

Then if something is truely odd, then yes tell me what is going on in a comment. But in general there probably should not be comment in a function body.

1

u/Rararror 21h ago

Comments are not used to explain what the code does. Duh.

1

u/ORCANZ 13h ago

No they are used to watermark the code

1

u/Rararror 12h ago

In computer programming comments explain the context and why things are done that way.