Lesson 1 of 9 · 20m
Patterns as Shared Vocabulary, Not Blueprints
A pattern is a compressed conversation about forces and tradeoffs — not a trophy to collect or a diagram to copy.
The first time I heard a senior engineer say "this is just an Adapter," a forty-minute design discussion collapsed into thirty seconds. That is the real value of patterns: shared compression. They let experienced people talk about shape, coupling, and change without re-litigating first principles every time.
They are not blueprints. Copying the UML without understanding the pressure it answers usually produces a system that is technically patterned and practically worse.
A pattern is a response to forces
A useful pattern discussion names:
- the problem pressure: what keeps changing or breaking
- the constraint: what must remain stable
- the tradeoff: what complexity you accept in exchange
- the failure mode: how the design goes bad when pushed too far
If the conversation is only "use Factory here," it has skipped everything important. The question is never whether a design contains a pattern. It is whether the shape makes the next likely change cheap and the next unlikely change possible.
Names compress experience
Compare these two code-review comments:
Maybe this object should not know how to construct the transport, because tests need a fake and production needs retries.versus:
Inject the transport here; construction is a creational concern.The second is shorter only because the listener already understands dependency injection, object lifetime, test doubles, and construction coupling. Vocabulary works when the team shares the scar tissue. It becomes jargon when one person uses it to end debate.
Pattern catalogs are indexes, not commandments
The Gang of Four catalog grouped patterns into creational, structural, and behavioral families. That grouping is still useful:
- Creational answers who creates objects and controls lifetime.
- Structural answers how pieces are composed behind stable interfaces.
- Behavioral answers how responsibilities and decisions move through the system.
But many modern languages absorbed the original patterns directly. Iterators, decorators, observers, and even visitors are often syntax or standard-library features now. The lesson is the force being managed, not the class diagram from 1994.
The day-one rule
When someone proposes a pattern, ask them to finish this sentence: "This shape will make it easier to ___ without making ___ worse." If they cannot, the pattern is decoration.
Field notes
- A pattern name in a class name is a warning sign;
AbstractFactoryManageroften means the abstraction came before the problem. - Good patterns disappear into the domain. You notice them when changing the system, not when reading the class list.
- Do not pattern-drop in review unless you can explain the force and the tradeoff in plain language.
Was this lesson helpful?