Design pattern is a reusable solution to a commonly occurring problem in software design. It's like a blueprint for how to solve a problem that can be used in many different situations, kind of like how you can use a hammer to build a lot of different things (as long as those things need nails, I suppose).
I was trying to figure out how to structure my code for this new feature, but then I remembered the Singleton design pattern I used on that legacy enterprise project - it's like a bad habit I can't shake.
The new hire kept going on about how we should use the Factory design pattern for every class in our codebase. I had to resist the urge to factory reset his workstation.
Design Patterns for Humans: A whimsical and easy-to-understand guide to design patterns, with real-world examples and funny analogies. It's like the TL;DR of the Gang of Four book.
Refactoring Guru - Design Patterns: An in-depth look at design patterns, complete with code examples and UML diagrams. It's like a more serious version of the "for Humans" guide, but still pretty approachable.
Source Making - Design Patterns: Another comprehensive resource for learning design patterns, with a focus on the original Gang of Four patterns. It's like a classic rock station for design patterns - you'll hear all the hits you know and love.
Note: the Developer Dictionary is in Beta. Please direct feedback to skye@statsig.com.