In summary, Design Patterns are solutions, based OOP, already tested to recurrent problems in programming, that aim to facilitate the maintenance and understanding of a project.
The purpose of this project is to introduce the main types of Design Pattern in programming, in a simple, easy and didactic way.
The patterns are separated in distinct directories, being formed by a short README and by compilable files (that formed the pattern). The concept of the code can be adapted to a lot of programming languages.
Warning
It is worth remembering, even though it is useful, these patterns will not fit perfectly in all types of project and programming languages, so it is up to you to analyze and decide what it should be used and what should not be used.
It is a group of authors of the book Design Patterns: Elements of Reusable Object-Oriented Software, formed by Erich Gamma, Richard Helm, Ralph Johnson and [John Vlissibes][jhon]. Their book is a catalog of Design Pattern, with usage instructions, descriptions, and tips related to the patterns in this section.
- Creational:
- Structural:
- Adapter
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Proxy
- Behavioral:
- Chain of Responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Observer
- State
- Strategy
- Template Method
- Visitor