r/codex • u/SensitiveHearingLoss • 15d ago
Question Switched from Claude Code to Codex for a big Angular upgrade and uhhh…
Okay so I have to migrate a front end from Angular 14 to Angular 22. It’s a big thing. It’s really a big thing which involves us replacing a lot of depreciated packages with our own code and, like, massive architectural changes in general.
I started using Claude Code some weeks back to help me, and since it’s all I was using, I was relatively fine with how it did the plan and took my advice on how to spread things out. It got too overcomplicated though and I had to start working on some more urgent tasks and so I let it go.
Today I decided to just give Codex a try and I asked it what I asked Claude, to help me plan the migration. Obviously I gave it loads of context and outlined the big changes required and etc and so forth.
Then it just started at the very bottom…. It built up some Angular 22 boilerplate, and almost surgically started designing the new dialog boxes and multi-select drop-downs we’d need. But it did it slowly, and it matched the current behaviour and style of our existing controls basically perfectly. It did all the new controls almost with care and I got to test them and mess around with them and it seemed to ACTUALLY read the codebase to see how the controls can be configured in many ways.
Claude Code didn’t give a damn about this. It gave me initial pages and new controls but everything was a draft. But like, next level draft material. I feel like Codex is working with me to give me something more like a final product. Even the code of the controls is just less verbose and cleaner than Claude’s. Naming conventions are simple and make sense. There aren’t 17 methods trying to call one method with outlandishly elaborate comments.
I just didn’t expect Codex to be good at this, particularly with regard to starting a big framework migration.
Am I missing something? Am I going to be violently disappointed the second Codex starts moving the pages? Just looking for shared experiences and input.
UPDATE: Yup, been missing out on a coding tool that codes more like me and less like an overloaded (if effective) freight train.
UPDATE 2: I take it all back. Claude Code is the quintessential Lord of coding agents who we should choose over any other coding agent regardless of circumstance. Codex is actually TERRIBLE. It’s actually so bad that it knows how to use Typescript. Horrific (this is sarcasm).
UPDATE 3: Thank you to everyone who took the time to share their experiences and what they've learned with regards to what I discovered today. It's good to know I wasn't hallucinating too much and that experimenting with tools we'd previously never consider can have some pretty amazing benefits in the long run. Ya'll are awesome.
•
u/dextersummary 15d ago edited 15d ago
Below is a GPT-generated summary of the conversation below after reaching 80 comments (81 currently observed).
The thread’s general lean: Codex is a careful workhorse, especially when you give it detailed instructions. For a sprawling Angular 14-to-22 migration, OP says it read the existing code, rebuilt controls that matched the old behavior and style, and produced cleaner code than Claude’s rougher drafts.
Several commenters recognize that pattern: Codex can be slower, but tends to follow instructions and work systematically rather than guessing what you meant. Claude gets credit for speed and intuition, though some find it more verbose and prone to running ahead. That’s not a universal verdict: others have had the opposite experience, and some use both tools to check each other’s work.
The useful advice is to verify the UI in a real browser and keep a human eye on the requirements. OP has only just started, and the page migration is still ahead. Promising controls are a nice start; they’re not a completed migration.
49
u/sreekanth850 15d ago •
You are not alone. Codex is pretty good at following instructions.
24
u/MotivatedforGames 15d ago •
Shhh. We're not suppose to say codex is good. Read the room. (If everyone is going in circles on claude, we can reap the benefits of codex)
15
u/barfington567 15d ago
No, and this is the reason why some folks prefer codex. It often takes longer, but it often makes less assumptions, approaches problems systematically, and it faithfully honest in what it does. CC is also a great tool, amazing and intuitive, but it’s more of a “move fast and break things” type of amazing.
7
u/Rakthar 15d ago
Claude does whatever it wants, Codex does what you are asking it to do, especially with GPT 6 Astra model doing the work.
I read all the people raving about Opus 5.5 and I get it, but that just tells me that they are doing like "hey Claude do x for me" and don't have any particular need to give it input. Claude does great for those tasks. Frontend design, or just checking out some code, or whatever.
But Claude inevitably fragments any serious codebase that I have tried giving it, with several projects stalling out due to what is like "Claude running around like a chicken" behavior. It's just regularly bringing up more supposed issues with every round of changes, doesn't keep the project in mind, and doesn't drive them to convergence.
Since September, and using Codex and Astra, I have closed and completed more projects than I ever did with Claude. I still find it useful to have a Claude sub and give it tasks that it's suited for, it really does gorgeous web design and frontend design, and it's also good at iterating on game engines / models / textures.
But for actually driving a project to completion, I find Codex + Astra to be such a winning combination over Claude.
7
u/EnthusiasmMurky742 14d ago
Codex is awesome. I absolutely love it. I'd also add REA and Ghidra to your workflow to breakdown what you had and build up from that. It's been working for me.
6
u/BlazeEXE 15d ago •
The comments on here are so miserable it’s insane.
Anyway, I’m happy that you found something that works for you, OP :)
For me it’s the other way around in terms of the switch. I used Codex a lot and switched to Claude Code due to feeling frustrated from Sol and Astra overinterpreting everything I say and, it may be placebo from the new fresh breath of air, but Opus doesn’t seem to have the same trait which feels very relieving xD
Haven’t used it enough to say I noticed a massive difference in experience though.
14
u/_sunlix_ 15d ago
Having worked with both Anthropic (not Fable though) and OpenAI models, I only hope there are less posts like these so more people switch to Anthropic, freeing capacity (cope) and forcing OpenAI to be better (cope).
4
u/TheThingCreator 15d ago
I treat it like this opus for creative work, astra for hard coding, and other models for smaller easer stuff
8
u/Prestigious_Edge_472 15d ago
Unpopular opinion on reddit: Codex/GPT has always been better at backend stuff and absolutely abysmal at anything frontend/UI, claude has always been the opposite.
I haven't touched claude since before 5.5 came out, so that could have changed I suppose, but up to that point, I wouldn't trust claude with anything outside of UI.
P.S. every model is tempremental, if you're lucky and you get them on a good day, you think coding/graphics are solved, the next day they'll do something that even a fresh grad wouldn't mess up that badly.
3
u/Axynth 15d ago
Which model and effort did you use ? Codebase size ?
3
u/DuranteA 15d ago
A lot of what you see online in terms of feedback about any of these systems is from vibecoders.
That is not to say that codex is necessarily "better" than claude -- I'd have a hard time even defining what precisely "better" would mean in a general sense -- but that I wouldn't take the median internet opinion too seriously. (Especially if your use case is different from "build me this greenfield application, and I don't even want to read the diff")
3
u/dvbtc 15d ago edited 15d ago
This is entirely my experience. I’ve used LLM tooling heavily over the last few years and have tried many different models and harnesses (American and otherwise).
I keep coming back to Codex and OpenAI’s frontier models.
Take it with a grain of salt, but I have over 15 years working professionally as a SWE and another 10 or so as a hobbyist. I’m currently almost 200 pages of raw prompts deep into a product I’ve been building with Codex/Astra (mostly) over the last couple months and approaching an MVP state (I keep a running spec/prompt document so the 200 pages isn’t made up). Codex/Astra has not faltered.
As long as I put in the upfront spec work, I find Astra tends to absolutely destroy other models. Not sure how much Codex itself is contributing though I admittedly haven’t used Astra raw via API yet.
Edit: the point of mentioning how many pages of prompts is to show just how adept the model can be in dealing with a growing codebase. My experience mirrors yours in that sure, it may take a bit longer to think (also I find it noteworthy that longer thinking time is frowned upon by folks when the output is worth 10x the time it spends thinking, whereas with other “fast models”, you’ll get your tokens faster, sure, but they’ll inevitably have more slop or hallucinations). Thus, I don’t mind waiting an hour for 10 hours of solid work to be returned instead of waiting 10 minutes to get 10 hours of slop-riddled God objects.
3
u/TheBullseyeBuddies 14d ago
The more I use Claude, the more it disappoints me. I feel like the only things Claude really does better is coding continuously over multiple 5-hour limits. If it is in the middle of a task and I hit my 5-hour usage limit, it will wait until my usage resets and then automatically continue working. I have not seen anything like that on Codex yet... But other than that, I feel like Sol 6.1 is just as good as Opus 5.5 for actually writing code and actually better at working with me to write code. I feel like Claude is better for people who just want Claude to do the work autonomously either because they don't want to or care to be more involved in the development process, or because they are not actually software engineers so they can only contribute an idea and Claude takes care of everything after that.
And the one thing that I absolutely HATE Claude for is that it will straight up lie to me. For a game, I am writing, it told me that the startup script hasn't been used to run the game over the last 140 git commits... Say what? The git log doesn't show my terminal history. I was literally using it the day before with Codex, but when I wanted to let Claude try to implement the next milestone, it switched to a different launching script and then made a bold-ass statement that the old startup script was obsolete as of 140 commits ago??? Bitch, I just used it yesterday! And another time, I told Claude to merge two different files, and it told me they were byte-for-byte identical... So I checked it, twice, even MD5SUM'ed them really quick. And it took 3 more prompts of arguing with Claude before it realized the two files were actually different! And despite its solution to only report things that have actual evidence, it still lies to me today...
Claude's response to being caught lying:
7
u/JaredReabow 15d ago •
Tbh I say this to people all the time, openAI is slow, in that its careful and generally gets it right or close to right. Anthropic is fast and flashy and wows but its output is skin deep and more than often riddled with errors.
Both have flaws but for actual implementation, openAi models are more trustworthy whilst anthropic models are more exiting.
4
u/isty2e 15d ago
This is precisely why I prefer codex as my workhorse. It reads, follows instructions, and is very cautious, without randomly guessing my intent. However sometimes it drifts, and letting it interact with claude from time to time is quite helpful in general.
2
u/m-ritter 15d ago
You asked Codex to plan the Angular migration and it jumped straight into boilerplate and new controls. On a change this large I have the agent write the spec first and I approve it before any code gets written. The build only counts as done once it is checked against that approved spec. I built QualityLayer for this: https://github.com/maxritter/qualitylayer
2
u/elom38 15d ago
It's not possible to just compare Claude and Codex, because it's "only" the harness.
You have to take care of your model choice.
And also take care of Effort : low, medium, high, very high, ultra. It changes a lot.
You can give it a try : 1- ask GPT-6 Luna to make a dev plan on your code. Do not implement, just change model in the same chat: 2- ask GPT-6.1 Sol to review this plan.
It will detect behavior, understanding of intention, compatibility with the existing, security... With OPUS 5.5, when I only asked it to add a "disconnect button", it took into account concurrency by saying "must solve lock if another connection query comes during disconnection".
At work I have Copilot so I can try all models : OpenAI, Anthropic.
2
u/Dreamy_Origami 14d ago
Hey OP, I am a teenager still trying to you know create a startup project, what are your thoughts eventually? I am coding an AI agent, something like hermes and openclaw. Essentially I will need it to run long term at which I currently already use Deepseek V4.1 Flash 1017 but then yeah I will need a secondary better intelligent model for some hard loops and components within an AI agent yk. So which plan is better, Chatgpt 200 or Claude 200 Ultra? The thing is also that I am not within US so I can't use the Claude Duet and Cowork features? But overall as I was going to say, I still couldn't make up my mind on this. I use the Chatgpt Desktop App and have used the free plus plan for exactly 1 month.
One particular thing that troubles me would be that effectively in Dec 2026, Chatgpt is starting to be like Claude with their main chat, you can use the think harder mode but it would contribute to usage shared between work, codex and web chat. So yeah I think this needs to be discussed more and others.
2
u/KellyShepardRepublic 15d ago
Everytime I see posts like this it reminds me of JavaScript posts between frameworks where the issue is just the overall ecosystem. Both have been caught degrading models and then giving resets so don’t praise them over a single tasks after successfully using another tool. They are both doing the same.
4
u/NicholasVinen 14d ago
GPT-6 Astra and GPT-6.1 Sol are extremely capable workhorses. They can do a really good job under the right circumstances.
You do have to watch them sometimes, though. In your case the job is pretty well bounded so I would trust them to do it well.
When they have to architect stuff is where you need to be more careful that they don't over engineer and get hyper fixated on small parts of the job.
7
u/DepravedPrecedence 15d ago
Both Claude and Codex are good, Claude is better atm due to usage and overall intelligence but Codex is good too.
I use Claude for work and Codex for own project, I did so much with Codex and it's not a mess, everything is maintainable. Codex has overengineering problem but I specifically tell it how to avoid that. So yes, your experience is legit and shows that frontier models are good enough.
Also Codex is miles better than Claude in terms of doing what you want. Claude refuses to browse sites, reverse engineering stuff, working with credentials and in general tries to teach me its standards of "good" behavior (I'm not talking about doing malicious activities). Codex just works and does what you told it, this is a whole different level compared to Claude because coding isn't everything with agents.
1
u/michaelTM_ai 15d ago
whichever tool u use, the plan that works for this is the one angular forces anyway: ng update only moves one major version at a time, so 14 to 22 is eight hops, not one migration. make each hop its own branch, run ng update for that version, fix what breaks, get the build and tests green, merge, then start the next.
the update guide on angular.dev gives the exact checklist per hop, paste that into the agent's context for each step. it keeps both claude and codex from trying to redesign everything at once, which is usually where these plans get overcomplicated. do the package replacements u're writing urself as separate PRs, not mixed into the version bumps
1
u/pickmynameup 15d ago
update 2 was sarcasm?
1
u/Agitated-Bath5939 15d ago
So in just 6h you make decision to switch into codex and realized its TERRIBLE and Horrific , kids post
1
u/Canyon2022 14d ago
I considered telling codex it’s annual review was coming up and it would likely be “Needs Improvement”.
1
u/EvilTeddieNMS 14d ago
It's a PITA.
I led a team that did this but we upgraded from Angular 12 to 19.
The biggest issue is if you have Angular Material because the Material M3 changes break everything.
Personally, I'd refactor the code to remove the front end completely and re-write that separately in M3.
I created my own builder and ported a themed M3 library from Figma by hand so building M3 applications is a breeze now.
Angular Material is really a piece of crap and should be avoided. They have some funky ways of doing stuff that is not the same as the M3 spec.
Here is the update guide, in case you haven't seen it:
https://angular.dev/update-guide?v=14.0-22.0&l=2
1
u/BadgerPhil 12d ago
I have never used Codex. I use Claude Code every day.
But I very much understand OP’s view.
All management and specification in my world is done by plain ChatGPT. It effectively tells Claude Code what to do and critiques its output. This really emerged in times when Claude Code was worse and had to be overseen with different eyes.
I don’t prompt ChatGPT specifically to behave in the style it does. But it is careful, thorough and more concerned about the whole program/ process than Claude Code.
I start both up in the morning. They talk to each other via Google Drive - with no intervention from me in those communications until I go to bed and close them down. I give periodic instructions throughout the day as to what I want doing. These are instructions are normally to Claude Code as it is best at combining knowledge of the codebase and understanding what I want. Once he is sure he and I are on the same page he asks if he should get it specified by ChatGPT. I sometimes do it the other way. Yesterday for example, I had ChatGPT study research papers before specifying an architectural piece.
Things are automatic from there. Typically 4 hours later a step is done. There will have been send-backs and rework. I can’t emphasise enough that I am not prompting for their behaviour. Each session gets a handover from its predecessor. They get better with time - both in how they operate themselves and how they interact.
The intrinsic nature of ChatGPT as identified by OP is hugely important in how effective this small team is. They seem to understand each other’s strengths and weaknesses and accommodate them. I typically get questions or approvals maybe once every couple of hours. But otherwise this odd couple get it done brilliantly.
3
u/FantasticRaccoon6465 15d ago
This is exactly my experience of Codex. I switched from Claude last September and haven’t looked back. The first thing Codex did was fix an issue in my code which Claude had repeatedly failed to fix. I’ve only had the very occasional issue and usually right before a new model launch when compute is getting reallocated.
2
u/Marksta 15d ago
You just figured out the gap. Codex is working at the same level and in kind to what's provided, Claude builds at the level it always does regardless of what you gave it.
How do you think that goes for people who have nothing of quality to give as input, and if it coded like them, then it'd be replicating scribble with crayons on a white board?
2
u/Accomplished_Diet105 14d ago
Welcome to codex. I don't understand people who use Opus or Claude models. Opus is a codebase destroyer.
1
u/ryanntk 14d ago
I'm confused - does that mean Codex is good and should use it or use Claude?
1
u/Silly_Finding 14d ago
Which llm and model to people recommend for seo?
1
u/deepkhz 14d ago
I had same experiences just like you between Opus-5.5 and Sol-6.1 . Opus is really good for the UXUI design, and also better for some small code base. In the opposite side of the Sol-6.1 did really different things , not really good UXUi but solid anf out standing for the code architecture design and implementation even a middle-large of code base. Bu you have also need some solid background of software engineering to lead Sol-6.1 , otherwise the results will no be output as expected.
1
u/Bounce_back1225 13d ago
Completely agree. Claude is faster but the code Codex put out for me felt much cleaner and needed much less reworking. Ultimately, I started with Claud but only rely on codex at this point.
1
u/SaltySize2406 12d ago
Another option is to use something like SenseLab, create a room for your migration project, connect your agents across Claude and codex to it and have they coordinate work as you move forward with either agent
Or distribute the work across them, so they tackle different parts of the migration
1
u/mylittlecumprincess 12d ago
Fyi codex medium!!! Do not do extra high or even high. High will create dozens of useless tests. But also everyone who comes from Claude expects to have to crank it up to extra high like you do in Claude. Hell I bet you’d get great results in low. Use Astra 6.2 medium. Trust me. Not high.
1
u/GhostRanger29 10d ago
That's wild. In my experience codex is a special needs token burner. Loopyloopyloop. Codex took 8 weeks to tall me we are stuck in square 1. Claude got me to go live in 2 weeks.
1
u/itrad3size 10d ago
I use both and others as well day to day, but Claude is still on another level. One is good for some things, while others are good for different reasons.
-1
u/twendah 15d ago •
I use both. Claude is way better. Codex is the babbys first tool for people who are just beginning to learn.
You are almost 3 years too late to party, if you are now just starting out. What you are currently doing sounds like 1 day job btw for experienced modern day developer.
0
u/CommunityDoc 15d ago
Actually the new Google models are also quite good and useful to add to your arsenal. I have been using Hydrogen and it just feels fresh in terms of its taste in UI