{"slug": "does-code-quality-still-matter", "title": "Does code quality still matter?", "summary": "Mark Seemann questions whether code quality will remain relevant in a future where large language models (LLMs) write all code without human oversight, suggesting that if humans are no longer in the loop, constraints related to human cognition may become irrelevant and new programming languages optimized for LLMs could emerge. He speculates that technical debt might still accumulate even in LLM-generated code, but acknowledges uncertainty about whether this will become an issue.", "body_md": "# Does code quality still matter? by Mark Seemann\n\n*I honestly don't know, but I guess we'll find out.*\n\nYou can't open a social-media feed or listen to a podcast without being bombarded with stories of how [LLMs](https://en.wikipedia.org/wiki/Large_language_model) write code faster than programmers. Not only for [greenfield](https://en.wikipedia.org/wiki/Greenfield_project) development, but also in already-established code bases.\n\nAs long as you use LLMs as a tool to generate code that humans are ultimately responsible for, the quality of the code still matters. Humans need to review that code, work with it, fix its bugs, etc. But what happens if humans are no longer in the loop?\n\nI recently came across this tweet:\n\n\"What if we let people YOLO the code base without LLMs (coding by hand)?\n\n\"No? Bad idea?\n\n\"Then why is it okay with LLMs? Why does agentic code get a pass, but human code doesn't?\"\n\nI believe that Tim Ottinger has a slightly different valid point to make, but it comes close enough to something I've been mulling over for a few years: If, in the future, LLMs write all the code, does code quality matter?\n\n###\nWhy code quality matters [#](#43376f141d1443689a15d1cd6e69b146)\n\nI suppose that 'to YOLO a code base' means writing code with no eye to code quality, a practice that, frankly, has been predominant for decades. Still, development organizations that 'let people YOLO the code base' eventually find that they have a problem. They have accumulated so much technical debt that they can no longer respond timely to business demands.\n\nTo be clear, [code quality isn't the same as software quality](/2019/03/04/code-quality-is-not-software-quality). Code quality is an intrinsic property of a code base: How the code is structured, how readable it is, how easy it is to change.\n\nUntil now, all of this has ultimately been reducible to questions about human cognition. That's the point of my book [Code That Fits in Your Head](/2021/06/14/new-book-code-that-fits-in-your-head). Humans wrote the code. Humans had to edit it.\n\nWhat if this is no longer the case?\n\n###\nProgramming languages for LLMs [#](#5abfa9097e1c4769bfb100c221cea381)\n\nConsider, as a thought experiment, a future in which humans no longer write or read code. Does code quality still matter?\n\nIt seems evident that if humans no longer work with the code, then all the constraints related to human cognition become irrelevant. The resulting code might have long methods, high [cyclomatic complexity](https://en.wikipedia.org/wiki/Cyclomatic_complexity), obscure variable names, tight coupling.\n\nFor all we know, some of those notions may not even be meaningful. The concept of a long method assumes that the software is encoded in a way that even has methods.\n\nSpoiler alert: Machine code doesn't.\n\nRealistically, [I don't expect LLMs to directly generate machine code](/2026/03/30/programming-languages-for-ai), if for no other reason than that machine code isn't portable.\n\nOn the other hand, there's no reason to believe that, in this hypothesized future, LLMs would stick to the languages that exist today. With the exception of machine code, all programming languages exist to make programming easier for humans. If no humans look at code, it's conceivable that new languages will emerge; languages optimized for LLMs to consume, generate, and manipulate.\n\nFor the sake of argument, let's assume that only one such language emerges. Let's call it LLaMe.\n\n###\nTechnical debt for LLMs [#](#cbbb62142b6c43cc9d4a063f6ead5f7f)\n\nFuture LLMs write code in LLaMe. Do they accrue technical debt?\n\nHonestly, I don't know. Perhaps this will never become an issue. If so, the rest of this article is irrelevant. We just let the LLMs YOLO LLaMe code from here to eternity, and it never becomes a problem.\n\nStill, I find it conceivable that technical debt could still accumulate. Even with machine code, you have choices in how to structure the code. Do you reuse a register, or use two different registers for an operation?\n\nFor that reason, we must assume that LLaMe allows alternative code structures. Some of those structures may be harder to change than others. Some may require more resources (tokens?) for LLMs to 'understand'. Well-structured LLaMe code will enable LLMs to add features and fix bugs quickly and inexpensively. Badly-structured LLaMe code will take more time, and be more expensive, to improve.\n\n###\nCan LLMs prevent technical debt? [#](#864794bd4f894f5686181eca1863e7a6)\n\nWhat does bad LLaMe code look like? We don't even know what LLaMe looks like, and we also don't know what patterns and idioms will prove beneficial, and which to avoid.\n\nWe humans have accumulated experience over generations. We know a thing or two about what works and what doesn't. Avoid long methods. Use descriptive names. Beware of coupling. All that experience, however, is deeply entangled with constraints of human cognition.\n\nLLMs will not be able to learn from our experience. All our books, all our conference talks, all our podcasts, all our blog posts are about human problems. They are unlikely to apply to avoiding technical debt in LLaMe.\n\nLLMs will have to learn from their own experiences.\n\n###\nAcceleration [#](#2b944679ddc449d3b3b6f889f0e10c14)\n\nDo LLMs currently learn from their own experiences? I don't know, but I suppose they could. They could write incidence reports and think pieces for other LLMs.\n\nThey can do that much faster than humans, and I suppose it's possible to train a next generation of coding LLMs on the experiences learned by a previous generation. This may happen much quicker than humans absorb similar knowledge.\n\nSo perhaps LLaMe technical debt will be an issue for a few years, but then that problem will be solved too. LLMs will not YOLO their code, but follow appropriate LLaMe coding practices.\n\n###\nConclusion [#](#a78c3b6350f7433cb3e8e1a50bc6969a)\n\nCode quality matters to human programmers because of cognitive constraints. LLMs are unlikely to constrained by the same limitations as ours, but they may have their own. Such machine constraints could give rise to technical debt that slow LLMs down when developing and improving software.\n\nPerhaps this is a problem that never materializes. Or perhaps it's a problem that will appear for a while, and then be solved. Or perhaps it never will.\n\nIf this happens, we may have a problem on hand that we can't solve. The limitations are so beyond human cognition that we have no chance to troubleshoot.\n\nIf nothing else, this thought experiment suggests to me that letting LLMs produce software without human oversight is going to be more complicated than most of the AI optimists let on.\n\n### Wish to comment?\n\n[sending me a pull request](https://github.com/ploeh/ploeh.github.com#readme). Alternatively, you can discuss this post on Twitter or somewhere else with a permalink. Ping me with the link, and I may respond.", "url": "https://wpnews.pro/news/does-code-quality-still-matter", "canonical_source": "https://blog.ploeh.dk/2026/07/23/does-code-quality-still-matter/", "published_at": "2026-07-23 08:20:57+00:00", "updated_at": "2026-07-23 08:52:41.137287+00:00", "lang": "en", "topics": ["large-language-models", "artificial-intelligence", "ai-agents"], "entities": ["Mark Seemann", "Tim Ottinger", "LLaMe"], "alternates": {"html": "https://wpnews.pro/news/does-code-quality-still-matter", "markdown": "https://wpnews.pro/news/does-code-quality-still-matter.md", "text": "https://wpnews.pro/news/does-code-quality-still-matter.txt", "jsonld": "https://wpnews.pro/news/does-code-quality-still-matter.jsonld"}}