Anyone compared code quality between Claude and GPT?
Lately, for backend work, Claude definitely feels like it gives less nonsense. How about you all?
For frontend, GPT seems better again... or is it just my imagination lol
5 answers
Agreed, Claude is definitely stable on the backend side these days lol
Got a source?
I felt the same way. Especially when refactoring legacy code, GPT just makes up functions that don't exist, while Claude at least tends to try to preserve the existing signatures. But I'm not sure whether this is a difference between the models or just a difference in style.
Well, that's a bit... In the end, how you provide the prompt and context is 90% of it, so I wonder whether comparing models is even meaningful. Do you have any data that compares output test pass rates by running the same task 20 times each with the same spec? Without something like that, speaking from feeling alone is no different from saying it's just your imagination.
Honestly, I find it hard to agree that GPT is better for frontend. For frontend, Claude was much better at understanding the component structure and generating things that fit the existing design system. It seems like usage patterns vary a lot from person to person. And since models keep getting updated, comparing based on experiences from a few months ago is meaningless lol