If the LLM Writes the Code, How Do We Still Learn?
As you may have guessed from previous blog posts, I'm having a lot of fun in this new age of software engineering. But I see colleagues and friends struggling with LLMs, and one of their fears used to be mine: if the LLM writes the code, how do we still learn?
I stopped typing to learn a long time ago
I discovered coding late, when I started engineering school. I learned C, and spent countless nights building my coding skills from the ground up. Then I started working, and at some point, implementing things alone and from scratch stopped being how I learned. When you start from scratch, you are alone with your own biases, and you make the simple mistakes everyone made before you. So I started to read code that works instead. It began when I was on call, because some software kept paging me while other software never did, and I wanted to understand the difference. Most of my "Diving into" posts started that way, like etcd's linearizable reads and HBase's MemStore.
And reading is exactly what LLMs made cheap. For years, I was blocked by large codebases written in languages I had not mastered. Nowadays, I can ask questions about any codebase, in any language, which is how I read FoundationDB's C++ internals before writing moonpool. Reading academic papers was another struggle, because absorbing a design took me a lot of time. Now I can turn a paper into a visualization I can step through and break, as I did with Lamport's Paxos papers, starting from Paxos Made Simple. A concept is always easier to understand when I can see it move.
Reading all that code never meant learning it by heart. Nobody remembers each line, we remember the structure, the happy path, the error path, the shape of the code. Writing is not learning by heart either. If you ask someone to explain code they wrote a few months ago, they walk to the whiteboard and draw boundaries, messages, and what each part guarantees, because the line-by-line detail is gone and only the guarantees stay. That is true no matter who typed the code.
We already trust abstractions
The boundaries and guarantees we draw on the whiteboard are what we call an abstraction, a set of interactions you know, with guarantees you can state. Delivering software has always meant building them.
We also trust abstractions we have never opened. Have you read your whole stack, from your compiler to the Linux kernel and all your dependencies? I bet not. SREs have always worked this way, and I operated HBase and Hadoop for years without having written them, learning them from the outside through metrics, probes and incidents, because some systems are too complex for anyone to keep the full map in their head. Code written by an LLM is just one more layer I did not write, so the real question is how far I can trust it.
The leaks are the learning opportunities
No abstraction can be trusted forever, and Joel Spolsky explained why in 2002 in the Law of Leaky Abstractions: "All non-trivial abstractions, to some degree, are leaky." Sooner or later, a detail from underneath shows through, and you have to understand what the abstraction was hiding from you. Leaks come in many forms:
- a fast query that gets slower and slower,
- a cache that serves stale data after an update,
- memory you never have to free, until the garbage collector pauses everything,
- a network call that looks like a function call, until it hangs for 15 minutes,
- an
fsyncthat looks safe to retry after an error, until the retry reports success after the kernel dropped your dirty pages, as PostgreSQL found with fsyncgate in 2018, - a retry that looks safe, until it hits an operation that is not idempotent and charges your customer twice,
- retries that keep the system overloaded long after the trigger is gone, one of the metastable failures described at HotOS 2021.
A leak is the moment the abstraction forces you to open it, and it tells you where to start looking. You don't study the whole engine, only the part that broke a guarantee. Every item above is a learning opportunity for whoever is there to see it. Do we need to write the code to be the ones who see it? No, but we need to be close to production and accountable for the abstractions we maintain. This is one of the main reasons I am still part of the on-call rotation: I see the leaks and the software issues first-hand, which helps me build better software.
Owning the abstractions
If being close to production matters more than typing the code, what is left for us when the LLM writes most of it? Cindy Sridharan wrote a list that matches how I see the job today:
- understand the fundamentals,
- run experiments to prove the shortcomings in existing designs,
- analyze alternative designs and tradeoffs quantitatively,
- run continuous verification loops to categorically prove/disprove your implementation,
- communicate about all of this clearly.
Behind this list, someone has to decide what the abstraction guarantees, check that the implementation respects those guarantees, and get paged when it does not. That is our job, and it is where the learning happens, because we are the ones who have to understand and fix every leak. Keeping the system small is our job too, because as Bryan Cantrill points out, LLMs lack the virtue of laziness: work costs them nothing, so left unchecked they make systems larger, not better.
We are also the ones who design abstractions that are useful, hide complexity and behave correctly under failures. I love reading the examples of an abstraction because they show a lot about its design. Design matters even more with agents, because as Lauren Tan explains in All Code Is Slop (Except Mine), agents copy a workaround in your code as the established pattern, so Lauren Tan's team turns every agent correction into a lint rule or an API change.
Trust needs proof
Designing abstractions that behave correctly under failures is only half of the design work, and the other half, the most important one for me, is to provide proof that they do. By proof I mean something anyone can run or read again without taking my word for it.
Two items on Cindy Sridharan's list are about verification, and I think everyone should now use testing strategies designed to find unknown unknowns, the bugs you cannot write a test for. Property-based testing, fuzzing, deterministic simulation and model checking all search for the inputs, the interleavings or the failures that break what the abstraction guarantees. Mutation testing then checks that your tests would notice a broken implementation. These strategies are why I can trust code I did not write. They let us find leaks before they reach production, and they give the LLM the feedback it needs, because, as Marc Brooker argues, accurate feedback sets the limit of what agents can do.
Lauren Tan's team made the same choice, and their code review "has now really shrunk into looking at verification artifacts", from screenshots to TLA+ models and Lean proofs. These techniques are not new, they used to be too expensive until agents cut the cost down, and the talk calls this "a golden age of software testing and verification".
Proof also makes delegation safe. Would you rather spend your days writing glue code or learning? Delegate the glue to the LLM, and spend the days you get back on the abstractions you own: their guarantees, their failure modes and their tests.
Juniors learn faster now
The fear of not learning is even stronger for engineers who are just starting out, and Spolsky already answered it in 2002, writing about the code-generation tools of that time: abstractions "save us time working, but they don't save us time learning". LLMs don't change that, but they change how fast a junior can run into the leaks that took me years of on-call to find. If you are starting out, get close to production early by owning projects and carrying a pager, as Marc Brooker advises juniors. Use the LLM as a tutor for the fundamentals, and learn the testing strategies above, which Dominik Tornow puts at the center of his career advice for 2027. Code is now cheap enough to prototype a design and watch it under load or failure, so you can try three designs in an afternoon. A wrong design used to cost me nights of C before I saw it break.
And keep building things, because with LLMs we spend more of our days as the architect who designs the house than as the mason who puts up the walls, and designing is a skill you only improve by practicing it.
Feel free to reach out with any questions or to share your experiences with learning in the LLM era. You can find me on Twitter, Bluesky or through my website.