Comment by user43928
24 days ago
So in that scenario it passed QA just fine, because the cache made it fast anyway.
Is having a simpler and more robust implementation worth the time to review, understand, and improve it? I'd put that at easily 5-10x the effort.
If in the future performance was found inadequate, you could still have the agent revisit the slow function.
That's what I mean with the optimization being premature.
Having a more complex and less robust implementation adds a multiplier to all of your future costs. When a system is 200k lines of code instead of 10k lines of code, every new feature you add and bug you fix takes 5–10× the effort.
I had similar concerns when I was working with GPT-5.5 earlier this year. At the time my project was perhaps ~150k LOC.
After struggling with some more complex features even after many iterations, I started to doubt, and questioned whether I'm writing myself into a dead-end.
I did not. I still made progress and things worked out just fine. Then Fable and later GPT-5.6 Sol came out, boosting productivity and complexity of features I could implement successfully.
The effort only ever went down, and my app was released in the AppStore last week, at about ~500k LOC.
I understand why people might believe that using AI and not manually cleaning up suboptimal or overly defensive implementation would eventually result in an unmaintainable mess.
Based on my personal experience and 500+ hours put into my project, I can confidently say that this is not the case. Increased effort to maintain is negligible.
Can you sketch out a little bit of what your velocity looks like? What's a feature you implemented recently, and some bugs you fixed, and how much effort they took? Have you had an AI-driven project get bogged down with decreasing velocity, and what did that look like? Maybe that's what you mean by "struggling with some more complex features"?
It's probably true that keeping things simple is a little bit of a religious issue for me, but maybe my experience with humans writing software doesn't apply in the same way to AI coding. Maybe a lot of my religious beliefs are wrong!
3 replies →
Just reflect on the fact that systemd has 1.6m lines of code, and you're shipping a third of that in a mobile app.
1 reply →