The Facade Pattern

archetype Architecture and BuildingSoftware Abstraction

Categories: software-engineering

What It Brings

The name is the metaphor. A building facade presents a unified, simplified front to the street while hiding structural complexity — plumbing, wiring, load-bearing walls. The GoF design pattern maps this directly onto software: a facade class provides a simple interface to a complex subsystem.

Key structural parallels:

Where It Breaks

Expressions

Origin Story

The Facade pattern was codified in Design Patterns: Elements of Reusable Object-Oriented Software (1994) by the Gang of Four (Gamma, Helm, Johnson, Vlissides). The architectural metaphor was the explicit motivation: the pattern description references building facades directly.

But the metaphor predates the pattern. Programmers talked about “hiding complexity behind a clean interface” since at least the 1970s (Parnas, “On the Criteria To Be Used in Decomposing Systems into Modules,” 1972). The GoF gave it a name that made the spatial intuition explicit: there’s an outside and an inside, and the outside is simpler.

References

Related Mappings