Ask HN: AI writes better code than me. How to keep my identity?
news.ycombinator.com · Read Story HN original
It's not that AI coding isn't fun. It is. But in the beginning, there were still many things AI couldn't do well. The community focus was on "Harness Engineering," attaching MCPs, or deep Prompt Engineering. I actually built and used quite a few custom AI tools during that phase.
In the past, you had to provide not just your intent and direction, but also detailed, step-by-step instructions to reach that goal. Lately, though, even if you skip the detailed instructions, both Claude and GPT-5.6 handle it perfectly. You don't even have to agonize over which model to use. "Graph engineering" is currently trending, but it seems the models have already learned those patterns natively—if you establish a high-level plan with them, they automatically embed the execution policies into it. Whenever I try to learn and apply a new AI engineering technique, the next model update already does it out of the box, making the effort feel pointless.
The real problem is that AI is now too good. It applies ADT patterns, immutability, Option/Maybe, Result patterns, functional programming patterns, monadic chaining, and architectural structures like MVC, MVVM, MVI, and Hexagonal architectures far better than I can. It's heavily demotivating.
All those years I spent memorizing GoF patterns, slowly applying them to my work, and tweaking them into my own style—it all feels meaningless now.
Honestly, the vast majority of freelance work revolves around simple CRUD apps. Sure, there is domain knowledge to memorize, but when it comes to structuring CRUD, using functional techniques for error and value handling, or writing boundary tests, AI is just far more meticulous and capable than I am.
It even feels like AI is better at domain modeling. I try to hypnotize myself into believing I'm still necessary, but realistically, I don't work in Big Tech. I'm a programmer who mostly assembles business logic on top of existing frameworks, and the truth is, AI does my job better. And faster. I don't think I can deny it anymore.
Top-tier developers might still outperform AI, but for the vast majority of us, including myself, that is no longer the reality. To write the kind of code AI generates, I used to have to keep documentation open on a second monitor, think deeply, and constantly Google better approaches. AI just generates it instantly, making my past efforts feel obsolete.
When AI writes better code than I do, how am I supposed to maintain my motivation and identity? I would especially love to hear from other freelance developers. With market deadlines getting tighter and tighter because of AI, how are you handling this transition?
Again, it's not that AI "vibe coding" isn't fun. It is. But entirely separate from that, the stark realization that I am losing my competitive edge is making me increasingly depressed.
Comments
The “competitive edge” these days is partially being a domain expert, try to find a niche you can grow and learn in. It could be some industry or some tech, but that’s how you differentiate yourself in the LLM age, not by writing code.
You're being paid to solve business problems, not to write code. Now you can do it without writing code.
Maybe try to form a different identity ? I wouldn't ever define my identity (not before AI) as someone who writes code.
This is a double edged sword. Yes, LLMs have given me some really interesting solutions that are advanced enough that I need to really work to follow them. But on the other hand, once I do so, I often find an architectural flaw that is driving the complexity. Once I prompt it to fix that flaw, the code gets simpler, easier to read and understand, and easier to maintain.
I'm starting to treat advanced solutions as a code smell - when I see something that pushes my limits, that means the AI missed a simple solution.
Step 1 is "surrendering" to AI-driven coding.
Beyond that, the new competitive edge for developers everywhere is mastering AI tooling for maximum productivity and velocity.