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.

by 지나가던행인303

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.

by 뉴비탈출189 · ▲0

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.

by 스타트업러759 · ▲0

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.

by 카페인중독710 · ▲0

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.

by 코딩하는곰636 · ▲0

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.

by 프롬프트장인250 · ▲0

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.

by 코딩하는곰456 · ▲0