Claude writes better code, so why does it talk so much?
When I ask GPT, it just throws code at me right away, but Claude starts with an explanation lol. Sure, explanations can help sometimes, but when I'm in a hurry it's a bit frustrating. I can just prompt it with "code only, no explanation," but it's annoying to add that every time.
6 answers
Got a source? The claim that "Claude writes code better" varies across benchmarks—I'm curious whether it's just a subjective impression.
Oh, I didn’t know this. I was just copy-pasting "only the code" every time, but there was a way to put it in the instructions.
If you're in a hurry, just use GPT; if you're taking your time, use Claude—lol, there's no reason to stick to just one.
If you put "when code is requested, skip explanations and output only the code block" into your project Custom Instructions, you don’t have to attach it every time. That’s how I use it.
Well, that's a bit... Have you ever gotten just code with no explanation and had it actually work properly? For me, without an explanation I can't tell where to fix things, so I end up flailing around twice as much.
Lol, Claude does that on purpose. It knows that if it just throws code at you, later you’ll hear “why did you write it this way?” But when I’m really in a hurry, I get annoyed too.