Hacker News new | past | comments | ask | show | jobs | submit login

Maybe this one can stop writing a fucking essay in code comments.

I'm now no longer surprised just how consistently all the gemini models overcomplicate coding challenges or just plain get them wrong.

Claude is just consistently spot on. A few salient comments for tricky code instead of incessantly telling me what it's changed and what I might want to do, incorrect assumptions when it has the code or is something we've discussed, changing large amounts of unrelated code (eg styles). I could go on.

Shame I'm too tight to pay for Claude RN though...






Just ask it to only add comments on complex parts (or not at all). Prompt engineering.

Duh why didn't I think of that. Oh wait it was the first thing I tried and it makes NO difference

The comment spam is likely a byproduct of RL, it lets the model dump locally relevant reasoning while writing code.

You can try asking it to not do that, but I would bet it would slightly degrade code quality.


The model likely is doing it more for itself than for you.

You can take the code and give it to another LLM instance and ask it to strip all comments.


It can remove them itself after it's written the code, but basically seems incapable of writing clean code to begin with, unlike Claude



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: