frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Why Codex works better than Claude Code for my production monolith

12•anophelon•1h ago
Over the last year I mostly used Codex, but during the last month I tried Claude Code with Opus 4.6 and 4.7. These are my notes.

This is not a benchmark. It is just my experience from daily use on one production codebase. For some medium-complexity tasks, I also ran both tools with the same prompts, but I did not try to make this a controlled evaluation.

TL;DR: for my production Python monolith, I still prefer Codex.

The codebase is a many-years-old Python backend. It has several architectural layers from different periods: a newer experimental DDD-ish style, older but still well-structured legacy code, and very old fragile spaghetti code.

We usually do not rewrite old parts unless we have to. The preferred strategy is to leave them alone until they are naturally replaced or removed. This is not a simple CRUD web server. It is a complex, sometimes overcomplicated, application with many A/B tests and very specific business logic in many corners.

Why I prefer Codex for this codebase:

1. Codex follows harness-engineering principles much better for me. See: https://openai.com/index/harness-engineering/ Claude does not reliably follow this workflow unless my AGENTS.md contains very explicit short instructions, such as: “Read exec_plan.md and follow it.”

2. Claude more often creates new tools instead of first searching the codebase for existing ones. In this kind of codebase, reusing existing project-specific tools and patterns matters a lot.

3. Claude more often reads too little code or documentation before choosing where to put new functionality. I frequently had to go through several correction rounds in the same task: “Put this functionality in module A instead, not in the controller. That is the right place.” “Do not construct the response object using the statuses you sent in the request. The API already returns the updated object — use that response, include it in the result, and validate that its state matches what we expect.” “No, validate it in the same module that owns this boundary.” This kind of back-and-forth became tiring. Codex seems to have a better planning mode for this type of work. It more often notices missing context in my prompt and asks clarifying questions before making architectural changes.

4. I migrated through several Codex/GPT model versions during this period because new versions were released while I was testing. I have not tested GPT-5.5 on UI-heavy work yet. However, Opus 4.6 was much better for frontend work than Codex 5.3 and GPT-5.4 in my experience. For UI tasks, I currently prefer Claude.

Skills and MCP: I use only one shared skill for both LLMs: commands to start and stop the Docker Compose environment and run tests inside it.

Comments

forgo0913•1h ago
I switched from Claude to Codex + GPT-5.5 (with image2) recently and UI-first development just feels realy different.

Why Law Is Law-Shaped

https://lawvm.org/why-law-is-law-shaped/
1•ekns•56s ago•0 comments

Show HN: AI powered coding interview practice

https://protechstack.com/practice
1•vampiregrey•6m ago•0 comments

SHOW HN: 50k+ Shopify Store Database Leads with Niche Segmentation

https://kanbauser.gumroad.com/l/shopifyleads
1•nazbasho•6m ago•0 comments

Trump: Australia's media bargaining laws 'foreign extortion'

https://www.theguardian.com/media/2026/apr/29/trump-australia-news-bargaining-laws-extortion
1•KnuthIsGod•7m ago•0 comments

Payphone Tag

https://hackaday.com/2026/04/28/payphone-tag-is-australias-new-national-sport/
1•altilunium•9m ago•0 comments

Taylor Swift files trademarks for voice and image amid concern over AI misuse

https://www.theguardian.com/music/2026/apr/27/taylor-swift-trademarks-voice-image-ai
1•JeanKage•9m ago•0 comments

US to issue new 'America250' passports featuring Donald Trump's image

https://www.theguardian.com/us-news/2026/apr/28/donald-trump-passports
2•KnuthIsGod•11m ago•0 comments

Quantum Computing and Blockchain [pdf]

https://assets.ctfassets.net/sygt3q11s4a9/6EjYavuGdtJDYCqaJrASj9/9f464a8bf26f44bd6c85710fe7e4a29f...
2•Tomte•15m ago•0 comments

Aihumanbench

1•AIhumanbench•15m ago•1 comments

Rspack 2.0: a 10x faster Webpack built in Rust

https://rspack.rs/blog/announcing-2-0
3•AbuAssar•19m ago•0 comments

Why I Still Reach for Lisp (& Scheme) Instead of Haskell

https://jointhefreeworld.org/blog/articles/lisps/why-i-still-reach-for-scheme-instead-of-haskell/...
8•jjba23•21m ago•1 comments

Product Thinking for Open Source Library Design

https://pckt.blog/b/krzysu/product-thinking-for-open-source-library-design-qzw69a9
6•krzysu•25m ago•0 comments

A free solution to the GitHub Actions supply chain crisis

https://developerwithacat.com/blog/202604/github-actions-supply-chain-commit/
1•pabs3•30m ago•0 comments

Mining magnate Andrew Forrest takes Meta 2 court over scam ads using his likenes

https://www.abc.net.au/news/2026-04-17/andrew-forrest-battles-meta-over-fake-ads/106574806
3•asdefghyk•30m ago•1 comments

The Wrong Black Box Problem

https://dekodiert.de/en/articles/das-falsche-black-box-problem
9•sdoering•32m ago•0 comments

The EC is turning Google Search into a privacy and national-security risk

https://blog.lukaszolejnik.com/the-european-commission-is-turning-google-search-into-a-privacy-an...
6•negura•33m ago•0 comments

Building a Basic Cache with SQLite

https://alexwlchan.net/2026/sqlite-cache/
7•ingve•34m ago•0 comments

Why C++ Wins in Finance(2026)

https://www.youtube.com/watch?v=InLxLEqg_fs
7•theawesomekhan•34m ago•0 comments

Ubuntu silicon-optimized inference snaps for AI

https://canonical.com/blog/canonical-releases-inference-snaps
5•jmngomes•35m ago•0 comments

Show HN: LLM-assisted reconstruction of partially decompiled Minecraft 26.1.2

https://github.com/stevefan1999-personal/demcstify
8•stevefan1999•35m ago•0 comments

Ask HN: How are you stopping supply chain attacks via compromised dev keys?

5•CountVonGuetzli•39m ago•0 comments

The world is rejecting science and truth, here are 5 ways to fight back

https://www.theguardian.com/commentisfree/2026/apr/28/world-rejecting-science-truth-five-ways-fig...
6•JeanKage•40m ago•0 comments

Native vs. Cross Compilation: A Love Story,a War Story and a Debugging Nightmare

http://carminatialessandro.blogspot.com/2026/04/native-vs-cross-compilation-love-story.html
5•throw324du•43m ago•0 comments

Back Up and Running

https://blog.tindie.com/2026/04/back-up-and-running/
15•zimpenfish•44m ago•2 comments

Vanishing Culture: A New Book on the Loss of Our Digital Memory

https://blog.archive.org/2026/04/23/introducing-vanishing-culture-a-new-book-on-the-loss-of-our-d...
5•robtherobber•45m ago•0 comments

The Great Oxidation Event: How Cyanobacteria Changed Life

https://asm.org/articles/2022/february/the-great-oxidation-event-how-cyanobacteria-change
8•thunderbong•45m ago•0 comments

How to distribute skills to your engineers

https://newsletter.port.io/p/how-to-build-a-skills-library-for-your-engineering-team
10•krakenwake•46m ago•0 comments

Predictive pursuit emerges in high-dimensional recurrent neural networks

https://www.biorxiv.org/content/10.64898/2026.04.23.720457v1
7•paraschopra•46m ago•0 comments

Tell HN: An update from the new Tindie team

17•altairprime•47m ago•3 comments

Beijing Auto Show: more EV models in each of 17 halls than in the US

https://electrek.co/2026/04/26/beijing-auto-show-2026-insane-glimpse-future-auto-industry/
4•Geekette•50m ago•0 comments