liveBook · Manning

Two-way door

As explained in The Coder Cafe

A two-way door is a reversible decision that permits rapid experimentation and iteration.

A two-way door is a reversible decision: a change that can be undone when it fails, enabling rapid experimentation, learning, and iteration with lower risk. section 6.14.2

Use the pattern by:

  • Favoring reversible changes in complex systems instead of overengineering the initial solution. section 6.14.2
  • Contrasting two-way doors with one-way doors, which require careful deliberation because they are difficult or impossible to undo. section 6.14.2
  • Defining local and global metrics before changing a system, since local success can conceal harmful effects elsewhere. section 6.14.2

When reversibility is not enough

Treat security policies and compliance-related changes as deliberate commitments rather than fast experiments, because some decisions should not be optimized for reversibility. section 6.14.2

How The Coder Cafe covers it

How deep it goes
Defines reversibility, contrasts decision types, and gives tradeoffs; stops short of a detailed implementation procedure.
Examples
Uses security policies and compliance-related changes as examples of commitments requiring upfront deliberation.
What it assumes
Assumes familiarity with complex systems and distinguishes reversible experimentation from irreversible commitment.
What you can do after
Evaluate decisions by reversibility and choose faster experimentation or deliberate commitment accordingly.
How it connects
Connects reversible decisions with complex systems, experimentation, iteration, security policies, compliance, and system-level metrics.

Also explained in

Compare how 2 books explain two-way door →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of The Coder Cafe. The section links point to the parts of the book it draws on.