Course
Design Patterns & Refactoring
Design patterns as a shared engineering vocabulary — when they clarify intent, when they become architecture theater, and how to refactor toward simplicity without breaking production.
Reviews
Enrolled members can rate this course.
No reviews yet.
Patterns as Vocabulary
What patterns are for, and how creational, structural, and behavioral designs solve recurring pressure.
- 01Patterns as Shared Vocabulary, Not BlueprintsA pattern is a compressed conversation about forces and tradeoffs — not a trophy to collect or a diagram to copy.20mOpen
- 02Creational Patterns: Ownership, Lifetime, and ConstructionFactories, builders, singletons, and prototypes are really about who owns construction complexity and object lifetime.22mOpen
- 03Structural and Behavioral Patterns: Composition and FlowAdapters, facades, decorators, strategies, observers, and commands organize collaboration — or bury it under indirection.23mOpen
Modern Patterns and Abuse
How modern language features change the classic patterns, and how to recognize over-engineering before it hardens.
- 01Recognizing Pattern Abuse Before It FossilizesThe warning signs of over-abstraction: speculative extension points, interface proliferation, indirection without payoff, and architecture that resists the actual change.21mOpen
- 02Dependency Injection Without Framework MagicConstructor injection, composition roots, and lifetimes — how to get testability and explicit dependencies without turning configuration into a second programming language.22mOpen
- 03When Language Features Replace Classic PatternsLambdas, iterators, generics, pattern matching, and async abstractions often remove the need for ceremony-heavy object patterns.20mOpen
Refactoring in Practice
Safe refactoring mechanics, when to introduce patterns, and when to remove them.
- 01Refactoring Safely: Behavior-Preserving Change Under ControlRefactoring is disciplined behavior preservation: characterization tests, small steps, seams, and verification loops that let you change shape without changing outcomes.24mOpen
- 02Refactoring Toward Patterns When the Pressure Is RealIntroduce adapters, strategies, commands, and factories only after duplication, branching, or coupling demonstrates the need.23mOpen
- 03Refactoring Away From Patterns: Deleting Design That No Longer PaysSometimes the correct refactor is removing factories, interfaces, layers, and events — collapsing indirection so the code tells the truth again.22mOpen