Imola Meszar

Chesterton's Fence - Don't Tear Down the Fence

A single configuration flag once cost a company $440 million in 45 minutes. Learn why you must understand the purpose of a fence before you tear it down.

Chesterton's Fence - Don't Tear Down the Fence
#1about 6 minutes

Applying Chesterton's Fence to legacy software systems

The principle of Chesterton's Fence advises understanding why something exists before removing it, which is crucial for navigating the hidden complexities of legacy code.

#2about 7 minutes

Technique 1: Uncover system memory by analyzing old bugs

The oldest unfixed bugs in a system act as a form of memory, revealing areas that are too complex, risky, or culturally contentious for the team to address.

#3about 8 minutes

Technique 2: Identify hidden dependencies between modules

Analyzing commit history with tools like CodeScene reveals hidden couplings between modules that architectural diagrams miss, preventing catastrophic failures like the Knight Capital incident.

#4about 1 minute

Why psychological safety is essential for preventing disasters

Technical analysis tools are insufficient without a team culture of psychological safety where engineers feel empowered to halt a release when something seems wrong.

#5about 6 minutes

Technique 3: Learn from flaky tests that probe system behaviors

Intermittently failing or flaky tests often act as canaries, probing unintended system behaviors that are not captured by their explicit assertions.

#6about 4 minutes

Adopting the discipline of asking why before changing code

The core discipline is not about preserving old code, but about asking "why" to understand the context and constraints that led to its creation before making changes.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles

From learning to earning

Jobs that call for the skills explored in this talk.