by elvis10ten · 3w ago · 0 comments
I implore you to look at it! I recently vibed too close to the sun: I knew at a high-level what I was doing, but never looked at the code.
Two weeks after and 50k LOC, I’m having a look and I can’t believe my eyes. There are whole failure modes that don’t need to exist. Moreover, how can I sale this software in good faith, when something happens and I’m largely a meat proxy because I don’t know how the code works?
I will go through the entirety of the code with my naked eyes, and make improvements (with AI).
But this time, I won’t fall for the illusion of “productivity”.
When you have a deep understanding of something, you just can’t help thinking about all the ways you could improve it. Maybe you realize it could be generalized, or that a different problem you’ve had could be solved with a similar technique. Sometimes you get oh “OH DUH” moment where you realize you were making the slightly wrong thing this whole time, and NOW you know EXACTLY what to make.
With LLMs I just get basically what I asked for, and then I’m done. Obviously this is sick and I love it.
But for a lot of my projects recently, I fall into this trap
- I have a problem, I think a program could help. But I want to know if there’s a viable approach before I invest a bunch of time by myself, so I boot up claude
- LLM writes the entire program, I don’t know what’s going on in there
- the program kinda solves the problem or it doesn’t. At this point I already have something that has vaguely confirmed or denied the viability of solving the problem, so I think “welp I’m not gonna spend a whole week of my life reading an LLMs output”, and that’s that
I rarely have cool insights about the problem after that. In the olden days, even if my approach didn’t work, I would come away with a new understanding of that problem, and all similar types of problems. “Oh that’s why people say cache invalidation is unsolved”. “Oh that’s why generics can’t infer xyz”
Don’t really get that when you vibecode. But the siren song of just having something that works is so sweet, and I can never ever resist it
This! Especially this! is the real reason I started building my own commercial software again.
I’m betting that the details will still continue to matter.
If you get into the regular habit of having the LLM look for issues with the code base it will find them: structural, bugs, design pattern issues, duplicate code, or same functionality not sharing a single path.
Honestly it feels like working with a real codebase. Tech debt always builds up, and yes the AI does it, too. It does notice if you ask to look.
When I wrote features by hand, I used to have like 2-5 bugs. Most of which were just human clumsiness.
When I started using AI and remained in the driving seat, most of the human clumsiness bugs went away.
Now, when I vibe, all I have are my verification loops and asking Opus5.5 to find and fix bugs.
Opus tells me it’s done. Only for me to start a new loop and it finds 10 more things or maybe I go in myself and it says “oh you are right”.
For me, this is not progress. I would rather spend an extra 1 or 2 hours a day in the driving seat building software that is correct and that is so simple that cost of changes is low.
It wrote them to begin with. Now you're handing of this discovery to literally the same LLMs that wrote this.
Oh, they will find some issues. Are you sure they will fix them and/or rewrite them without introducing more issues? How do you know if "looking is not necessary"?
I have automated the entirety of testing and Claude can validate it's own inputs. I then focus on marking requirements fulfilled, or bugs found. The bugs it does find are usually on the side of incomplete requirements. The few technical ones were due to a lack of testing. And I am not perfect, so I would have made all kinds of bugs myself.
If you keep to a mindset of, and build processes for, the management of software development rather than coding, results are better. No this isn't a magic prompt like "make no mistakes".
It is approaching the project with the mindset of knowing the limitations of the tools like one would a junior/mid engineer, and then mitigating. This is dependent on the codebase, product, and desired requirements for what processes to use and to what degree.
If you find yourself still needing to look, you have insuffiently automated the creation and validation of written software.
Its solved. Adapt and learn to use them effectively or get left behind; seems to be the unfortunate reality.
Every model, including $latest_model, makes mistakes and hallucinates things. If you aren't looking at the code, you are producing bad software, end of story.
> Its solved. Adapt and learn to use them effectively or get left behind; seems to be the unfortunate reality.
Ah, there's the FOMO push. It just isn't an AI bro post without false claims of "you're going to be left behind!".
Every time. Every single time. People who say they never look at code anymore always say the trite things about "management of software development", how they have no issues, and that if you have issues, it's the problem with your skills with a side of snide remarks about your intelligence.
And then you press them for details.
After a few rounds of more and more trite answers they either go away or it turns out that their "automated everything" and "processes" and "coding is solved" are:
- a bunch of "make no mistakes" aka untold numbers of random markdown files aka skills, "guidelines", "memories", "ADRs", "technical docs" etc. Which are routinely ignored by any and all models.
- a bunch of tools that can't or don't catch all the mistakes the models routinely make. E.g. there are very few tools that reliably detect code duplication (especially code duplication with subtle changes in behavior), or reliably detect bad data access patterns, or reliably detect suboptimal algorithms etc.
- an overreliance on tests. The very same tests that are written by the very same very models
Also, if the models could actually "validate inputs" and other "coding is solved" things, you wouldn't actually need dozens of tools around to catch the mistakes they do. Ironically, you need "processes" and "engineering management".
---
As a related aside.
I have multiple tools from linters to semantic analysis running as routine checks, and still. Here are the responses by Claude for some of the things I caught it doing in just the past few days:
- "The [test data] generator can sometimes fail, and create duplicated data, so I increased the number of times it runs to 100" (instead of fixing it)
- "The tests check this in an indirect way. They send megabytes of data and watch the memory of the whole VM. Unrelated processes change that number. The direct check is the number of body bytes that the server read. Do you want me to rewrite these tests" (Claude wrote all these tests to begin with)
- "The previous research covered only a few CSS files. It did not cover the design system documents, the components, or the pages that already use them." (so much for "No this isn't a magic prompt like 'make no mistakes'" as it had an explicit requirement to use the design system)
- "The too_large_message/1 helper has three copies, two of them private, with no good reason for them..."
And that's just some I documented for myself.
What I’m most anxious about is that, because I don’t read code, if I don’t have access to an agent for any reason I’ll have a hard time fixing a critical bug because I don’t have a mental model anymore of how things work. And that’s not professional and I can’t sell that software.
I think this is a growing problem. I pulled back. I'm much faster than I used to be. BUT, now I also forcibly insert myself into the loop so not as purely fast as I could be. I've thoroughly iterated on a design with the LLM before starting. I've personally looked at and often iterated on every line of code before merging. I regularly walk through the generated code base, both with and without LLM assistance, in order to ensure I have a solid mental picture of what's there.
This behavior has been informed by seeing things go to hell, both for myself and with other people, clients, open source projects, etc
Absolutely true! Some month ago I discovered huge memleaks by coincidence because Opus nailed tons of LINQ calls together and duplicated data as hell.