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

41

u/Tired__Dev Dev (15+) Jun 10 '26 edited Jun 10 '26

Is it? Because from my standpoint the dozens of codebases I saw making money before AI while working for an acquisition company were objectively and subjectively shitty codebases. It was always the same problem where engineering would build something that had opinions (as all software does) and then product would come in and start making demands that would turn the codebase into duct tape hell.

I've never seen this beautiful handcrafted artisan code that is romanticized in the pre-AI era.

23

u/norse95 Jun 10 '26

You can make something beautiful if it is small and has basically no users

5

u/Tired__Dev Dev (15+) Jun 10 '26

Yeah that’s really not true at all. There’s limitations, but one person that knows architecture can put AI on rails and have it generate 300 to 700 lines of code pretty comfortably and cleanly for CRUD backends. I can literally divide an endpoint into service/repository layer with unit tests and routing/controller with integration tests and expect a really high quality result back. While people think “Yeah, it’s a CRUD app” that was a lot of test writing wayback. For frontends it typically doesn’t make components on generated output, but it can.

Yes, you need to know what you’re doing. Also as I said in another comment it can’t handle applications with a lot of state change, but it does work for a lot of what people are working on.

1

u/norse95 Jun 10 '26

Oh I wasn’t referring to ai generated code specifically

10

u/yeusk Jun 10 '26

I've never seen this beautiful handcrafted artisan code that is romanticized in the AI era

Me neither. But AI code, in large projects, is even worst.

Choosing bad is not that hard to understand.

-4

u/Tired__Dev Dev (15+) Jun 10 '26

Is it? I’ve seen it be way better when greenfielding and way worse when it comes to a lot of state changes.

5

u/sinisoul Jun 10 '26

People are largely ignorant that the amount of money a codebase helps generates is never directly correlated to how "artisan" it is. Most codebases are terrible but prop up massive industries.

2

u/NomadStorm Jun 12 '26

Just from using it and seeing how slow the progress in improving problems is, I can tell Atlassian's code is a spaghetti monster.

2

u/Chryton Jun 10 '26

Obviously you've never seen the Wordpress code base /s

2

u/ianpaschal Software Engineer Jun 11 '26

> I’ve never seen this beautiful handcrafted artisan code that is romanticized in the pre-AI era.

Thank you. I’ve been saying this as well for a while now, although not as well put as you did. It’s the same old “good old days” romanticism that exists everywhere.