# Strangler Fig: Replace an Old System One Piece at a Time

When an old system is too tangled to keep fixing and too important to switch off for a rewrite, put a facade in front of it and move one feature at a time behind that facade to new code, with an adapter at the border so the old system's ideas don't leak in, until the old system has nothing left to do.

![Cheat sheet: Strangler Fig: Replace an Old System One Piece at a Time](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/31f82d953c374a0a9b4f06f27e5e22d3.webp)

- Category: Data Structures
- Level: Freelancer
- Tags: Adapter Pattern, Anti-Corruption Layer, Facade Pattern, OOP, software-development, Strangler Fig Pattern
- Author: Gregor Dzierzon
- Updated: November 17, 2026

Source: https://www.ask-codey.com/cheat-sheets/dp-strangler-fig-cheat-sheet
