Object oriented programming (OOP) comes with many benefits, when implemented properly. However, designing OOP poorly will open the doors to a world of never-ending code smells. Design Patterns help keep those doors closed.
Design Patterns are reusable solutions to reoccurring design problems. They use the four principles of OOP (encapsulation, abstraction, inheritance, and polymorphism) to create software patterns that have been time-tested keep code clean, readable, and most importantly, maintainable.
There are 23 original design patterns first popularized in the book “Design Patterns – Elements of Reusable Object-Oriented Software” written by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides, collectively known as the Gang of Four (GOF). The table below lists those 23 design patterns, with a link to each one where you can learn about each pattern.
Hey, wait!!!!
You can use my affiliate link to get your own copy of the “Design Patterns – Elements of Reusable Object-Oriented Software” on Amazon!
>>> Click here to order on Amazon!