Who's better at coding these days, Claude or GPT?

Lately I've been using both when writing code, but I can't come to a conclusion.

Claude feels like it doesn't lose the context even when I throw a whole long file at it, while GPT seems to know more examples for all sorts of libraries. What do you all use in real work?

by 코딩하는곰990

7 answers

In practice, you ultimately need to hook it up to your company’s codebase and use it, so the one that can do that is the answer. Debating model performance is a conversation for later.

by 호기심천국948 · ▲0

Just because GPT knows library examples well doesn’t mean they’re up to date—make sure to check whether they’re based on the latest version. There are quite a few cases where it confidently answers using syntax that was deprecated years ago.

by 카페인중독644 · ▲0

Got a source? If there’s an article comparing them in a real project rather than just benchmark numbers, please share a link.

by 호기심천국434 · ▲0

I just use both lol. Claude for design, GPT for the tedious boilerplate—it's easier that way.

by 문과출신개발자163 · ▲0

Well, that's a bit... Looking at recent benchmarks, both have been upgraded, so aren't you talking about outdated hands-on impressions? If you don't specify the model version, the comparison is meaningless.

by 뉴비탈출554 · ▲0

I disagree. For me, Claude was much better at difficult refactoring. But this depends on each person's prompting style, so generalizing is a stretch.

by 취준생김씨761 · ▲0

If maintaining long-file context is really important, "how you slice it up and feed it in" matters more than context length. I wasn’t a fan of dumping entire files; giving only the relevant functions clearly lowered the error rate.

by 알고리즘고수653 · ▲0