logoalt Hacker News

pc86today at 6:35 PM1 replyview on HN

Comments exist for humans to understand the why of the code, including perhaps external dependencies/assumptions/requirements.

LLMs inserting code comments makes zero sense by definition.


Replies

pavlovtoday at 6:52 PM

That’s not true because LLMs clearly benefit from having multiple statements representing aspects of the same thing.

That’s why they’re always doing the “it’s not X, it’s Y” kind of patterns. It’s reinforcement.