🔗 Originally published on LinkedIn
Every few days I see someone make the same argument on LinkedIn:
"LLMs were trained on the entire corpus of published code. Therefore they can only produce average code."
At first glance it sounds reasonable. It isn't.
It confuses the data a model was trained on with how the model actually generates code.
An LLM is not averaging together millions of GitHub repositories and regurgitating the statistical middle. If it did that, it would produce complete nonsense. Imagine averaging every novel ever written into a single book, or averaging every painting into one giant grey canvas.
That isn't how these systems work.
Modern language models build an internal representation of programming languages, libraries, design patterns, APIs and software architecture. When you ask them to solve a problem, they reason over that representation to generate a solution that satisfies your prompt and constraints. They are synthesising, not averaging.
There is another problem with the argument. By the same logic, every human developer should also produce average code.
After all, where did we learn? University. Documentation. Stack Overflow. GitHub. Blog posts. Colleagues. Open source projects.
That's also a giant mixture of brilliant, mediocre and terrible code.
Nobody says:
"Humans were trained on average code, therefore humans can only write average software."
We recognise that good engineers don't memorise examples. They learn principles. They develop taste. They learn what good looks like and discard the bad.
LLMs are doing something surprisingly similar.
Now, does that mean an LLM is a better software engineer than every human? Of course not.
What it does have is extraordinary breadth. A senior engineer might have deep experience across a handful of languages, frameworks and architectural styles. An LLM has effectively seen examples from hundreds of thousands of projects spanning almost every mainstream ecosystem.
It often proposes approaches you've never considered because somewhere, someone solved a similar problem in a different language, framework or industry.
That's incredibly valuable.
Another flaw in the "average code" argument is that it assumes the output must resemble the average of the training data.
If that were true, models couldn't write in the style of Knuth, Fowler or Uncle Bob. They couldn't mimic the coding standards of Google, Microsoft or Stripe. They couldn't adapt to your own team's conventions.
Yet they clearly can.
The prompt changes the output dramatically. Ask an LLM to "write a cache in Python" and you'll get something reasonable. Ask it to write production-grade code with dependency injection, observability, resilience, tests, documentation and adherence to a particular architecture, and you'll get something very different.
Context matters. Steering matters. Good prompts matter. The whole harness matters!
The real limitation isn't code quality. It's judgement and taste.
The model doesn't know your product roadmap. It doesn't know which technical debt you're willing to tolerate. It doesn't know your team's culture, your deployment constraints or the political realities inside your organisation.
That's why architects and experienced engineers aren't disappearing. Their job is becoming more valuable.
They're no longer spending their days writing every line of code. They're deciding what should be built, how it should fit together and where the trade-offs lie. That's where experience still wins.
Finally, I think this whole debate is asking the wrong question.
The comparison isn't Developer vs AI. It's Developer with AI vs Developer without AI.
A capable engineer working with today's best models can explore more options, prototype faster, identify edge cases earlier and generate high-quality implementations in a fraction of the time.
Are the models perfect? No. Do they hallucinate? Absolutely. Do they need architectural guidance, review and correction? Every day.
But dismissing them as "average programmers" completely misses what makes them useful. They're not replacing engineering judgement. They're amplifying it.
The engineers who thrive over the next decade won't be the ones who argue about whether the AI is above or below average. They'll be the ones who learn to direct it effectively, critique its output and combine its extraordinary breadth with human taste and experience.
This article was originally written and published on LinkedIn by Kevin Smith, CTO and founder of Dootrix.