Remix.run Logo
rendaw 6 hours ago

That doesn't solve the problem of it hallucinating more design details and putting them in comments. The solution to too much authoritative documentation isn't more authoritative documentation.

pc86 6 hours ago | parent [-]

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.

pavlov 6 hours ago | parent [-]

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.