Design Patterns
Classic GoF patterns as they actually appear in production codebases, not UML diagrams.
📖 Key terms & concepts — definitions for the jargon used across these posts.
-
Design Patterns 101: Why a Pattern Is a Named Solution, Not a Silver Bullet
-
Strategy Pattern: Swapping Retry, Circuit Breaker, and Timeout Behind One Execute() Call
-
Factory Method & Abstract Factory: What a Factory Call Hides That a Constructor Can't
-
Singleton Anti-Pattern: Why DI Containers Throw on Captive Scoped Dependencies
-
Observer Pattern: Notifying Subscribers Lock-Free with Copy-on-Write Arrays
-
Decorator Pattern: Wrapping Retry, Circuit Breaker, and Timeout Around One Call
-
Adapter Pattern: Running One ORM Query Unchanged Across Postgres, MySQL, and SQLite
-
Command Pattern: Running 200+ Redis Commands Through One Dispatch Line
-
Builder Pattern: Why Fluent Methods Return 'this' Instead of Void
-
Dependency Injection: How Containers Pick a Constructor and Detect Cycles
-
Repository Pattern: Why eShop Wraps EF Core's DbSet in Another Layer
-
Circuit Breaker: The 4th State (Isolated) That Has Nothing to Do With Failures
-
Chain of Responsibility: Why ASP.NET Core Builds Its Middleware Pipeline Backwards
-
Concurrency Patterns: How .NET's Thread Pool Fuses Producer-Consumer and Work-Stealing Into One Queue
-
Microservices Patterns as Code: What Sidecar, Ambassador, BFF, and Event-Driven Actually Compile To
-
Design Patterns Key Terms: SOLID, DI, and the OO Vocabulary Behind Every Post