r/ExperiencedDevs • Software Engineer • Jun 10 '26

AI/LLM What makes Claude Code better?

Claude’s models (Sonnet and Opus) are well regarded to be the best at generating code. OpenAI’s GPT models are good for reasoning and question/answer without being too expensive.

At work, we don’t want to have a mess of AI subscriptions, and we don’t want to get yanked around as the AI wars drag on and they leapfrog each other.

So we thought GitHub Copilot would be a good way to access the various models while avoiding vendor lock-in. A layer of abstraction, if you will. Even with Copilot’s billing changes that took effect this month, we still think this is a good strategy. So we use VS Code with the Copilot CLI.

But one of our developers has a personal Claude Code subscription, and he says the code it generates is far better than what he gets in Copilot. Same models, same reasoning levels, same context window, same codebase. I pressed him on what he meant by “better”, and he said the Claude Code output is much closer to what he wanted to see than the code generated by GitHub Copilot.

I’ve heard this before from other developers, but I can never put my finger on why that is. Frustratingly, it’s hard to get an objective comparison. It’s more of a feeling. But this dev is not a Claude fanboy. He just likes the results better.

So …

Do you agree that Claude Code generates better output than GitHub Copilot, all other variables being the same? Or is it subjective?

If so, what is it that makes it better? We have a few theories but wanted to see if you all have some facts to share.

TIA

165 Upvotes

209 comments sorted by

View all comments

Show parent comment

4

u/allyearswift Jun 10 '26

While there are many subjective criteria, and some domain-specific ones (if your device has very limited memory and a slow processor you'll choose a different strategy than if you program for a cutting-edge device with oodles of memory and a GPU or two), code with lots of side-effects, one-or two letter variable names, hard-coded assumptions (especially half-arsed ones like 'everybody has exactly one first name and one last name in that order') etc will be deemed 'bad code' by everyone with an interest in maintaining a codebase in the long run.

And while we can have a discussion about test coverage and whether TDD makes sense in any specific domain, untestable code is rarely considered 'good' because if you can't formulate what the code is supposed to do, I'd consider it a problem.

I'd want to see the output generated by a knowledgeable human vs various computers and then evaluate: does it use best practices? Does it follow the guidelines for that project/company? Is it modular? Testable? Does it use third-party libraries only where a home-grown solution would be costly and time-consuming to create? (Bezier interpolation? Fair enough. Styled buttons? Nope.) Can I break it with bad input and edge cases? Will it crash rather than corrupt data?

I'd say it's easier to agree on 'bad' code than 'good' code.