3 ms·
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
by nprateem 1y ago
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...
- energy123 1y agoThe 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.
- mattlondon 1y agoJust ask it to only add comments on complex parts (or not at all). Prompt engineering.
- nprateem 1y agoDuh why didn't I think of that. Oh wait it was the first thing I tried and it makes NO difference
- Workaccount2 1y agoThe 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.
- nprateem 1y agoIt can remove them itself after it's written the code, but basically seems incapable of writing clean code to begin with, unlike Claude