AI Slop Learned From Human Slop
"AI slop" has become the go-to insult for code written by a model. Some of it is deserved. Models do write bad code: functions that do three things, tests that test nothing, error handling that swallows the error and carries on.
But that code came from somewhere. Models learned to write software by reading the software we wrote. When a model produces slop, it's showing us an average of what's out there, and a lot of what's out there is human slop.
Where I'm writing from
I'm an independent contractor based in Sri Lanka. Most of my clients are in the US, Australia, New Zealand, the UK and Europe, and almost all of them are price-sensitive. That's not a complaint; it's why they hire outside their own country in the first place.
The trouble is what price sensitivity buys. Clients go for the cheapest developers they can find, and those developers often write poor code. The client usually has no way of knowing. The pages load, the buttons click, the demo works. The problems live underneath, where only another developer will ever look.
I'm often that other developer. Here are two of the things I found.
The admin section with no lock on the door
A prominent UK mortgage brokering firm had an admin section protected by exactly one thing: there was no link to /admin.
No authentication. No role check. If you typed the URL, you were in. The only security was the hope that nobody would guess the most common admin path on the internet.
Nobody at the firm knew. Why would they? They weren't engineers; they'd paid someone to be the engineer for them.
ChurchFoyer: ten and a half months versus six weeks
ChurchFoyer.com was a project by GivingFire. Two contracted "engineers" had been working on it for ten months and two weeks when I was given the job of rebuilding it from scratch. The site was buggy, and permissions were effectively non-existent. GivingFire's CEO put it better than I could: "One fix will bring back two more errors."
Three weeks into the rebuild we were already past where the old code had been, and by week six we were feature complete.
ChurchFoyer turned out to be the start of a longer relationship. I went on to become GivingFire's sole developer, responsible for their donation management platform and payment gateway: upgrading it, maintaining it, and building its new features. That is software that moves people's money to their churches, and GivingFire trusted one contractor in Sri Lanka with all of it because the ChurchFoyer rebuild showed them what working code looks like.
I don't tell that story to say I'm brilliant. Ten and a half months of work by two people being replaced in six weeks by one isn't a measure of my talent. It's a measure of how little that code was worth: it wasn't something to build on, it was something to dig out of.
Human slop has always been here
Outside the well-paid San Francisco bubble, human slop has always existed. It just never had a catchy name, because nobody was looking at it.
In Sri Lanka there were workshops and camps about the importance of automated testing. Not how to test a tricky concurrency bug, or how to keep a slow suite fast: the importance of it. That an engineer's code should be checked by something other than clicking around and hoping. Seriously? Is that really so hard to understand that it needs a camp?
This is the baseline the AI-slop debate tends to leave out. The comparison isn't between a model and a senior engineer at a well-funded US company. For a large share of the world's software, it's between a model and whoever was cheapest that month.
What I've seen from the models
I started with GitHub Copilot, tried OpenCode with open models, and today I work with ChatGPT (Sol, Terra and Astra) and Claude (Opus and Fable).
The pattern has been consistent: the better the model, the better the code. Early autocomplete happily suggested the bad patterns it had seen most often. Today's best models put authorization checks where they belong, write tests without being asked, and will tell you when your plan has a hole in it.
Of everything I've used, Claude Fable writes the best code. It's also expensive, and I can't justify it for every task. Claude Opus 5.5 comes close enough, and it's my default go-to; I save Fable for the work where the difference is worth paying for.
Writing isn't the only job, though. Sol and Astra are good at review. They pay close attention to detail and are good at catching the edge cases a first draft misses.
I've come to think of different models as different people on a team. Some write nice code. Some read every line and find the case nobody thought of. A good team has both, and so does a good workflow: one model writes, another reviews, and I decide.
They still need someone who knows what good code looks like. You have to read what they write, push back, and own the result. But that was always true of any developer you hired, too.
My conclusion
From where I sit, the code written by the best models today is better than 90% of the code I've seen outside software developed in the US.
So when someone calls AI-written code slop, I'd ask: compared to what? The slop didn't arrive with AI. It was already in the codebases I've been cleaning up for years. The models just learned it from us, and the good ones are learning to do better than we did.