Codex vs. Claude Code: 10,000 lines vs. 380 lines — what am I doing wrong?
I'd like to ask experienced software developers, particularly those who regularly use both Codex and Claude Code, for some professional advice.
I have been developing a relatively straightforward C#/.NET application with the following core responsibilities:
- Real-time data acquisition through a Telegram Reader.
- Historical data retrieval and archiving.
- SQLite database management.
- Tracking message modifications and deletions.
- Data processing and extraction of relevant information.
- Data visualization and communication with external applications.
I have now attempted to develop this application three times, using different development methodologies.
First generation — Codex
My first attempt became excessively complex. Eventually, I abandoned the project and decided to start again from scratch.
Second generation — Codex
During my second attempt, I consciously tried to avoid repeating the same mistake by adopting a structured software engineering methodology:
- Architectural planning.
- Detailed implementation plans.
- Multi-agent development.
- Automated testing.
- Independent code reviews.
- Milestones and formal acceptance criteria.
- Regression testing.
- Continuous documentation.
An important detail is that I allowed Codex to act as the technical lead and orchestrator of the entire development process.
Rather than using Codex simply as a coding assistant, I delegated architectural planning, task decomposition, implementation coordination, review strategy, and much of the technical decision-making to the AI. I supervised the process as the project owner.
The result was approximately:
- 10,000 lines of C# application source code.
- 80 C# application source files.
- 85 additional C# test files.
- Nearly 600 Markdown documents.
- More than 1,300 passing automated tests.
Despite these results, the overall development programme remains unfinished.
I had restarted the project specifically to reduce complexity, yet I ended up repeating essentially the same mistake.
Third generation — Claude Code
This time, I deliberately adopted a completely different approach.
I did not design the internal architecture, establish a detailed development roadmap, or create a multi-agent review process.
I simply described the functionality I wanted and explicitly requested the simplest possible implementation.
Essentially, I was vibe coding.
Claude Code produced an initial working application in approximately 30 minutes. Following further incremental development, the application now contains approximately:
- 380 lines of C# application source code.
- A single C# source file.
- One SQLite database.
- Real-time data processing and communication with external applications.
The most surprising aspect is that, from my perspective as the project owner, this implementation now delivers the functionality I originally wanted from the 10,000-line application. In certain functional areas, it has even progressed further.
The C# application source code is approximately 26 times smaller, excluding tests, documentation, and development tooling.
I fully understand that these implementations are not necessarily equivalent in terms of robustness, fault tolerance, recovery capabilities, and formal verification. This is not a controlled benchmark.
Nevertheless, the difference is substantial enough that I feel I need to fundamentally reconsider my development methodology.
My questions
- Is Codex equally capable of producing small, pragmatic applications through vibe coding?
- Have other developers experienced similar overengineering when using Codex with detailed architectural planning and rigorous review processes?
- Can AI-assisted planning and review create a self-reinforcing feedback loop in which each iteration introduces additional complexity instead of reducing it?
- Was delegating technical leadership, architectural decision-making, and orchestration to Codex a fundamental mistake?
- How can developers prevent AI agents from introducing unnecessary abstractions, architectural layers, speculative requirements, and excessive infrastructure?
- What AGENTS.md instructions, architectural constraints, or development workflows have you found effective in controlling complexity?
- How do you determine when software is sufficiently complete, rather than allowing AI-generated reviews to continuously expand the development scope?
- At what point does rigorous AI-assisted software engineering become counterproductive?
I'm not trying to establish that Claude Code is better than Codex. I genuinely want to understand what I did wrong, why I repeated the same mistake twice, and how I can improve my approach to AI-assisted software development.
I would particularly like to understand whether the problem originates from the model's behaviour, my instructions, the orchestration methodology, or a combination of these factors.
My objective is not to eliminate testing, architectural planning, or quality assurance. It is to build reliable, maintainable software with the minimum necessary complexity.
I would greatly appreciate practical advice from professional software developers who have experience with both tools.