Discussing design patterns
What are design patterns and how are they different from architectural practices? They are all patterns, so they are all solutions for recurring problems. Design patterns appeared in the 90s and became popular after the book Design Patterns: Elements of Reusable Object-Oriented Software was written by Gamma, Helm, Johnson, and Vlissides, who later became known as the Gang of Four. These developers had experienced many situations in which the same problems would repeatedly appear. Therefore, they thought about how they could be solved and whether there were ways to create repeatable solutions to these problems. The answer was yes, so they wrote this book, which would become a key point of reference within software development. The Gang of Four discussed 23 patterns that they identified while working and solving certain problems with Object-Oriented Programming (OOP) principles and strategies in mind.
These patterns were organized into three categories depending...