queue|one

Your features are cakes. Your codebase turns them into rockets.

Small changes feel slow and risky because the parts of the system are braided together, not because the features are hard. The fix is to rebuild it as separate, snap-together pieces, one piece at a time, while the product keeps shipping.

Lego vs knitting

Click any module to change it. Same 12 parts, wired two ways. Sample system.
12 of 12modules you must change and retest
37connections between modules

Changing Billing pulls on threads that run through 11 other modules. That is Ousterhout's change amplification: a small change needs edits in many places.

Simple and easy are different axes

Rich Hickey's talk Simple Made Easy (Strange Loop, 2011) separates two ideas people treat as one. Simple comes from sim-plex, one fold or braid; its opposite is complex, braided together. That's a property of the thing itself. Easy comes from roots meaning “lie near”; its opposite is hard. That's about familiarity, so it depends on who's doing the work.

His word for the damage is complect: to braid concerns together. His example is a Lego castle, which you can take apart and change anywhere, versus a knitted castle. Teams under deadline pick what's easy, call it simple, and complect as they go. Complexity isn't the number of parts. It's how tangled they are.

Simple · Easy

Simple and easy

The goal. Cheap to build, cheap to change.

  • Config in one place
  • One owner per table
  • Small functions on plain data
Simple · Hard

Simple but hard (at first)

Feels slow on day one. Gets easy with practice.

  • Explicit module boundaries
  • Versioned event / API contracts
  • Immutable data, pure business logic
Complex · Easy

Easy but complex

Where most startup codebases live. Fast to write, slow to change.

  • One giant shared model used everywhere
  • Global state and hidden side effects
  • Copy-pasted or AI-generated code with no boundaries
  • Framework magic nobody can explain
Complex · Hard

Complex and hard

Over-engineering: the rocket nobody needed.

  • Microservices sharing one database
  • Kubernetes for a two-person team
  • Custom infra instead of managed services

A cake, a rocket and a child

Brenda Zimmerman and Sholom Glouberman sort problems three ways, and Atul Gawande made the examples famous in The Checklist Manifesto. Dave Snowden's Cynefin framework uses close to the same split for decision-making.

  • Simple (Cynefin: clear)

    Baking a cake. Follow the recipe and you get the same result almost every time.

    Software: a form field, a copy change, a new report column.

  • Complicated

    Sending a rocket to the moon. Known principles, but it takes experts, precision and planning. Cause and effect are there, just not obvious.

    Software: a payments integration, a data migration, HIPAA-grade audit logging.

  • Complex

    Raising a child. Every one is different, and what worked last time may not work this time. You learn by trying and adjusting.

    Software: product-market fit, pricing, how users will actually behave.

The startup problem: most feature requests are cakes. A tangled codebase turns them into rockets, and when nobody knows where all the threads go, estimates become as unpredictable as raising a child. Fred Brooks named the extra work in 1986: essential complexity belongs to the problem; accidental complexity is the difficulty we add ourselves, and it can be removed.

Request: “add a notes field to the customer profile”
24 habout 3 working days
9steps

The feature didn't change. The extra 22 hours are accidental complexity: work the codebase creates, not work the feature needs.

  • Find every copy of the Customer model (3)3 h
  • Migrate two databases that both store customers4 h
  • Shared serializer change breaks Orders export3 h
  • Fix nightly sync job that assumes fixed columns3 h
  • Admin panel reads a separate cached copy2 h
  • Same env var set by hand in 3 places1 h
  • Redeploy 4 services in a specific order2 h
  • Bug found in production: reports job4 h
  • Hotfix and redeploy2 h

Illustrative sample. Dark bars: essential work. Orange bars: accidental work.

Put both lenses together

The two meanings of “complex” measure different things. Hickey's is about the solution: tangled, and fixable by untangling. Snowden's is about the problem: unpredictable, and handled by changing how you work, not by analysing harder. Plotting work on both shows what to fix and how to deliver.

Simple solution · Ordered problem

Bake the cake

Analyse, build, ship. Estimates hold. AI tools shine here.

Simple solution · Complex problem

Cheap experiments

Probe, sense, respond. Decoupled parts make each experiment safe to throw away.

Complected solution · Ordered problem

Rocket for a cake

A known problem made unpredictable by the code. Fixable by refactoring.

  • Add a notes field
  • Change a Stripe plan
  • Fix nightly report
Complected solution · Complex problem

Danger zone

An unpredictable problem and a codebase where every probe is expensive.

  • New onboarding flow
  • Pricing experiment

Untangling moves work up, not sideways. You can't make a market predictable, but you can make the code cheap to change. Sample tasks.

Why AI tools don't fix this on their own

AI coding tools make producing code easy. They don't make the system simple. They work inside whatever structure already exists. In a Lego codebase, the assistant snaps a new brick onto a clear interface. In a knitted one, it knits faster, adding one more thread through the shared model, the global state and the copy-pasted logic. Ousterhout points out that complexity is incremental: it builds up from hundreds of small dependencies. Code generation speeds up how fast they pile up.

Google's 2025 DORA research puts it plainly: AI is an amplifier of a team's existing strengths and weaknesses. So the useful question isn't “which AI tool?” but “what is it standing on?” Borrowing from Maslow's hierarchy of needs, the way Google SRE Mikey Dickerson did for reliability, each layer below has to hold before the one above pays off.

Click a layer to see what it gives AI, and what breaks without it.
Layer 2 of 4

Clear boundaries: the parts are separate

  • Modules with defined contracts: APIs, events, schemas
  • One owner per area and per data entity
  • Change one part without loading the whole system

What it gives AI: A contained problem: the change fits in one module and one context window.

Without it: AI edits what it can see and misses the threads it can't. Change amplification, at machine speed.

What makes AI-assisted work fast again

  • Clear module boundaries, so a change fits in one context window
  • One owner per data entity, so there's one place to change
  • Contracts and tests at the seams, so a generated change is checked
  • Boring, managed infrastructure, so deploys aren't hand-built rituals

The same things make it fast for a human. That's the point: simplicity is an investment for both.

From knitting to Lego, one brick at a time

Martin Fowler's Strangler Fig pattern grows a new system around the edges of the old one through frequent releases, until the old one can be retired. Fowler argues its main advantage over a cut-over rewrite is lower risk: it delivers value steadily and you can watch progress release by release.

Lego 33%Knitted 67%

  • Authextracted, month 2
  • Notifi­cationsextracted, month 3
  • Billingstill knitted
  • Ordersstill knitted
  • Reportsstill knitted
  • Adminstill knitted

The path

  1. Stop digging: new features go behind a seam, never into the tangle
  2. Map the knot: dependency map, find the modules every change touches
  3. Put a facade in front so traffic can move module by module
  4. Extract the highest-churn module first, give it one owner for its data
  5. Repeat, one brick at a time, shipping every couple of weeks
  6. Retire the old code once nothing routes to it

The product keeps shipping the whole time. No big-bang rewrite.

Terms to share with the team

Simple / complex
One braid vs braided together. A property of the thing.
Hickey, 2011
Easy / hard
Near at hand and familiar vs not. Depends on the person.
Hickey, 2011
Complect
To braid separate concerns together.
Hickey, 2011
Essential vs accidental complexity
Difficulty that belongs to the problem vs difficulty we add while building it.
Brooks, 1986
Change amplification
A small change needs edits in many places.
Ousterhout
Cognitive load
How much you must know to make a change safely.
Ousterhout
Unknown unknowns
You can't tell what you need to know until something breaks.
Ousterhout
Clear / complicated / complex / chaotic
Problem types that call for different ways of deciding.
Snowden (Cynefin)
Simple / complicated / complex
Cake, rocket, child.
Glouberman & Zimmerman
AI as amplifier
AI magnifies a team's existing strengths and weaknesses.
DORA, 2025
Hierarchy of reliability
Maslow-style pyramid: each layer must hold before the next pays off.
Dickerson, Google SRE
Strangler fig
Replace a legacy system incrementally around its edges.
Fowler

Sources

Diagrams, sample systems, task lists and timelines on this page are illustrations, not client data.

Want to know which layer your codebase is missing?

A fixed-scope audit maps the knot: where the threads run, which modules every change touches, and the order to untangle them in.

Start a conversationhello@queueone.io