Last week I reviewed a proposal for an internal tool. A team of three, with about twenty operations colleagues across the company as users. By the third page, the proposal already had a message queue, event sourcing, and a plugin registration mechanism.
I couldn’t help asking: once this is live and it breaks at 2 a.m., who gets up to fix it?
The room went quiet for a few seconds. The later version was cut down to one table plus one scheduled job, shipped in two days.
I’ve seen this scene too many times, including in proposals I wrote myself. Ten years in this line of work, and I’ve slowly built up a set of judgment heuristics—not elegant, but useful: force yourself to translate “future benefits” into “concrete consequences now.”
Start with three questions
First: delete this layer, and which line breaks?
Note “which line,” not “extensibility gets worse.” If you can’t name the specific function or table, then this layer isn’t carrying anything right now—it’s just waiting for a requirement that may never come.
A passing answer looks like this: delete the message queue, and the order endpoint has to synchronously call three downstream services; any timeout loses the order. A failing answer usually stops at “it won’t scale when volume grows.” The former describes something that happens today; the latter describes a future with no shadow yet.
Second: who will change this parameter, and when?
The essence of configuration is deferring a decision to some future person. The trouble is, in many proposals that “future person” is just you three months from now—and by then you probably won’t change it, you’ll just add another switch. The most typical pileup I’ve seen looks like this:
1 | if settings.ENABLE_NEW_FLOW and not settings.LEGACY_MODE: |
This code lived for a year and a half. The combination of the two switches was never actually toggled, but everyone reading this had to pause for two seconds. Two seconds times team size, times reads per day, is the real bill for that config item.
Third: when it breaks, who gets woken up, and at what hour?
This question kills the “I added it, but I won’t operate it” component. Introducing a middleware is signing yourself a 24/7 on-call contract. If the problem it solves happens three to five times a year, that contract is usually a loss. And on-call is only the visible cost—there’s also upgrades, monitoring, alert tuning, security patches. A team of three maintaining three middlewares is effectively half a headcount gone long-term.
All three questions point at the same thing: you have to name a concrete, will-happen consequence, not a “might need later.” Complexity you can’t justify with consequences can basically be treated as speculation.
These three questions do fail sometimes. Compliance, audit, reconciliation—requirements like these don’t need you to predict, because they’re already written in regulations and your own incident records. There’s one other case where prediction is legitimate: a requirement that genuinely changed twice in your last project, and you know what the second caller looks like and when it’s coming. Beyond that, “it’ll change later” should be treated as imagination.
What complexity should buy is reversibility, not elegance
I’ve maintained a pile of things in banking systems that look pretty dumb: idempotency keys, audit tables, explicit state transitions, daily reconciliation. From a design-aesthetics standpoint, none of them are pretty, and they’re annoying to write. But they guard against irreversible errors: double charges, lost state, books that don’t balance.
So my only criterion now is this: does this complexity protect reversibility, or satisfy imagination?
Speculative complexity has a very stable signature: all the benefit lands in the future, all the cost lands now. And that future benefit usually has a cheaper way to buy it—wait until it actually arrives. When it does arrive, the change is usually two days’ work; preparing two years early means paying interest every day for those two years.
I learned this the hard way once. Early on I built a small data export service, wrote a formatter interface with three implementations and a name-based registry, on very reasonable grounds: export formats will multiply later. Three months in, the stats showed only one implementation had ever been called; the other two I’d written from imagination. The real problem turned out to be time zones—the part I hadn’t abstracted at all, hardcoded in three different places.
Where requirements actually change and where I pre-abstracted basically don’t overlap. That’s probably the most expensive lesson of my recent years.
There’s another invisible force in review meetings: complete-looking things get approved more easily. Proposals with tidy layers, full interfaces, and pretty directory trees rarely get challenged; a single table plus a scheduled job gets asked “isn’t this a bit crude?” This aesthetic preference slowly pushes teams toward the former, and nobody has to sign off on the maintenance cost two years out.
Conversely, moving early is sometimes right. When the cost of a change isn’t “two more days of coding” but data migration, downtime, client releases—then leaving a layer in advance isn’t speculation, it’s insurance. The axis is still reversibility: can the change be rolled back cheaply?
Signals I don’t quite trust
When I see these, I re-read every page of the proposal:
- An interface with only one implementation, written the same week. An interface with one caller isn’t an interface, it’s a forwarding layer.
- More config items than callers. Three callers, eleven switches.
- Layers added for symmetry. A has one, so B must too, otherwise “inconsistent.” But A and B’s change frequencies might differ by an order of magnitude.
- “In the future we can…” in the docs. That sentence is usually followed by code nobody wrote.
- Time from clone to running locally for a newcomer. One project took a new colleague two full days, a day and a half of it configuring the environment and understanding the directory structure. At that moment I knew the abstraction level had exceeded the team size.
And one more fundamental point: abstraction is debt, and the reader pays the interest. The cost of abstraction is paid every time someone reads the code; the benefit is only paid out when a change happens. Readers vastly outnumber changers—internal tools, scripts, one-off data tasks are all this structure—so the abstraction is probably a loss. It’s especially obvious in a one-person project: you three months later are the reader, and you won’t remember why you layered it this way.
Where I add complexity without hesitation
Conversely, some things I add almost without thinking, even when they look redundant at the time.
Idempotency. Any endpoint that writes data gets an idempotency key. Adding retries to a write endpoint without idempotency is amplifying one failure into N—once you’ve done that math, you don’t want to do it again.
Explicit state. Approvals, orders, long-running tasks—put the state in a field, don’t scatter it across combinations of booleans. status = 'pending_review' is easier to read and easier to query than is_submitted && !is_approved && !is_rejected.
Audit and permission boundaries are the same: who changed what, when. This has saved me when things went wrong, and saved colleagues when things went wrong for them. Rate limiting and retry budgets too: when upstream is down, do you wait thirty seconds or three milliseconds? Decide in advance; don’t wait for production to tell you.
What these share is that they constrain “can we clean up after something goes wrong,” not “can we scale in the future.” The former is uncertain when it comes but certain to come; the latter is uncertain whether it happens at all, and may never. Paying for what’s certain isn’t over-engineering.
There are boundaries here too. This whole add-side rests on the team being small, able to maintain things itself, and incident cost exceeding development cost. When there’s a dedicated infrastructure team, the marginal cost of adopting a middleware is much lower and the judgment genuinely differs—but be careful: “there’s a team to maintain it anyway” often gets used as a reason to add complexity, and that team may not know you’ve already counted them in the budget.
Leave a “delete it” column on the last page
Now when I write a proposal, I add a column on the last page titled “if we delete it.” One row per layer, per middleware, per config item, stating which line breaks and who feels the pain. Anything I can’t fill in gets deleted before the next iteration.
After filling in that column, several components were cut from the proposals, some of which I had insisted on adding myself.
At the next review, draw this column on paper first, then draw the architecture diagram. Doing it in the reverse order is often too late.
Comments