This repo was made to store some implementations about the more used design patterns on software development.
-
Singleton
- Ensures that a class has only one instance and provides a global point of access to that instance.
-
Factory
- A pattern that creates objects without explicitly specifying the class of object to be created, delegating the responsibility of deciding which class to instantiate to a subclass.
-
Mediator
- Defines an object that encapsulates how objects interact with each other, promoting loose coupling by preventing objects from referring to each other explicitly.
-
Strategy
- Allows an algorithm to be selected at runtime from a family of algorithms encapsulated in separate classes, allowing the algorithm to vary independently from clients that use it.
-
Facade
-
Builder
-
Observer
-
Adapter