I'm getting tired of slop code. Like genuinely pissed at it atp. I've been seeing a lot of startup codebases with the same scaling plan, which is no plan and at best it's some shit like scaling vertically/horizontally and burning more money, and when you ask about efficiency you get the same answer every time: "don't optimize early bro" or some shit like "dont overengineer this bro". If you've ever said that to me, hi, this one's for you :)
And look, I get it. I get why you want to move fast, I get that most startups die because nobody wants the thing and not because the database was slow. But if there's an actual engineer on the team, tokenmaxxing your way to a demo is fine, burning money on a bigger box for a few months is fine, just like, at least do SOME scalability stuff. Please 😭
"Don't optimize prematurely"
Yeah bro, Donald Knuth prolly wasn't talking to your dumass when he said that shit. It's for people who know wtf they're doing. His words:
We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.
That's from a 1974 paper, Structured Programming with go to Statements, and the audience was people who already wrote decent code. Knuth was telling them not to waste a week shaving cycles off a loop that runs twice a day, he wasn't telling anyone that wasteful code is fine. And the second sentence is the whole point, there IS a critical 3% and you're supposed to find it, which you can only do if you know what you're doing.
So the advice was a brake for experts, and somewhere along the way it turned into permission for everyone else. Now it's turned into just an excuse for people to say before they resort to tokenmaxxing and not using their fucking god-given brains.
The other thing that gets lost is that architecture isn't optimization. Nobody's asking you to hand-tune assembly on day one. Good architecture is what makes optimizing later possible, it's the boundaries and the data model and knowing where the state lives, so when the slow part shows up you can fix it in one place. Slop code isn't "unoptimized", it's code you can't optimize at all without rewriting it, and that's a very different problem.
Scaling
Not unlike the tokenmaxxing approach, i see people throw money at shit they cant fix. The website loads slower? Fuck it we're evaporating half pacific ocean to use fable 6.9 to migrate our shit to go for some reason and move it onto a Nvidia Blackwell VM on Google using some fuckass javascript framework and like 500 react components on the landing page.
Horizontal scaling isn't free either, it needs architecture too. Your services have to be stateless, nothing important can live in memory on one machine, two copies of the thing can't fight over the same row. A lot of slop can't scale out cleanly for exactly that reason, so the real plan ends up being a bigger and bigger box, and that runs out.
Most startups live on cloud credits for the starting stages so it's unnoticable for quite some time, but the bill always comes due. AWS Activate goes up to $200,000 if you came in through an accelerator or a VC, Google offers AI startups up to $350,000 over two years, Microsoft up to $150,000, so for the first year or two the waste never shows up on an invoice and everything's great. Then the credits run out and wow, suddenly everyone cares about efficiency, at the exact moment you have users, a team and no time to rewrite anything. Who could've seen that coming lol
To be fair to the "ship fast" crowd, Twitter was a fail whale for a couple of years and survived it, it had the money and the users to rewrite parts of the backend while it was on fire. Friendster had the users too, and the site got so slow (pages took as long as 40 seconds to load, according to the New York Times at the time) that people left for MySpace. You don't need to build for a million users on day one. You need to not build something that has to be thrown away at ten thousand.
Martin Fowler drew this back in 2007 and called it the Design Stamina Hypothesis (redrawn here). With no design you get features out faster at the start, and then it flattens, because every new feature has to fight everything you already shipped. Good design starts slower and keeps going. The "move fast" crowd only ever talks about the left side of that line, and if you survive you spend basically your whole life on the right side of it.
Tokens
"Don't optimize early" was written for software where one more user costs basically nothing, so a slow app at ten users is a problem you can afford to have later.
That's not true anymore if there's a model in the loop. Every request is a bill, from the very first one, and the waste doesn't wait for scale to show up, it shows up on the first invoice and growth just multiplies it. You can grow and lose more money with every user you get, and that's not hypothetical, TechCrunch reported last year that Windsurf's margins were "very negative" and that AI coding tools in general run neutral or negative margins because of what the models cost.
I ran into this building agents that edit game levels (I wrote about it here). Left alone, an agent checks its own work by reading stuff back or taking a screenshot and looking at it, and that's tokens every time. A plain function doing the same check is basically free and gives the same answer every run. And when I reran a small version with the same model and the same prompt, just giving it a few higher-level tools instead of raw engine access made runs 3.6 to 6.4 times faster and dropped the cost of a run from $1.84–2.84 to $0.59–0.99. None of that was a big rewrite, it was a design decision made early.
Also can we fucking talk about the fact that nobody remembers that codex and claude-code and whatever the you use is all on a subsidy? Like subscription prices are HEAVY subsidized. To all the tokenmaxxers: Whatcha gonna do when these subsidies run out?
Y'all don't believe me? Here's ccusage for myself from the past three months (I had like 3 claude ultras for $200 each)
| Month | Agents | Total tokens | Cost (USD) |
|---|---|---|---|
| 2026-09 | Codex, OpenCode | 1,882,470,300 | $1,238.15 |
| 2026-10 | Claude, Codex, Hermes, OpenCode | 22,887,168,612 | $7,005.57 |
| 2026-11 | Claude | 23,525,411,510 | $8,503.50 |
| Total | 48,295,050,422 | $16,747.22 | |
November alone is about $8,500 worth of tokens at API prices, for $600 in subscriptions, so roughly 14x, and I'm not even tokenmaxxing.
Your prompt is not a product
The other thing that's been driving me insane is how many startups out there, on actual venture money, are completely comfortable with a markdown file being their entire IP. Ofc there's SOME more stuff around it, a frontend, an auth flow, a database, but the core of the product, the part that's supposed to be the thing, is a giant prompt with no layers of abstraction underneath it.
And that falls apart the second you try to grow it. A prompt has none of the stuff that makes code scale with a team. Nothing's isolated, so changing one sentence can change behavior everywhere. You can't really test it the way you'd test a function. Two features don't compose, they compete for the model's attention in the same file, so feature twelve is slower to ship than feature two, and nobody can steer the thing anymore without breaking something else. For anyone who knows wtf they're doing it's a nightmare to work in.
It's also not much of a moat. There's a public GitHub repo that just collects what it says are the system prompts of AI products, Cursor, Windsurf, Devin, Lovable, v0, Replit, Perplexity, Claude Code and a bunch more, and it has about 145,000 stars. If your IP is a prompt there's a decent chance it's already on GitHub, and if it isn't, the next model release might just ship your feature natively. Great moat guys xD
Before anyone replies "but skills and CLAUDE.md are literally markdown files", yeah I know, I ship skills too. A markdown file as the steering layer on top of real code is fine, that's what it's good at. A markdown file as the whole system is the problem. The thing that made my level-editing agents work was moving the facts into code and typed tools and leaving the model with only the intent, which is the opposite of putting everything in the prompt and hoping.
At least do this
None of this needs a platform team. Know what one request costs you, use the cheap model everywhere it works, check things with code wherever code can check them, keep your services stateless so "more boxes" is actually an option, and pick a data model you won't have to migrate in a panic the week you get popular. That's like, a few days of thinking at the start.
Or don't, honestly, keep shipping the slop, and in six months when the bill's growing faster than the users and every feature takes three weeks, just remember someone on the internet told you so :)