You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,4 +10,31 @@ Patterns are a toolkit of solutions to common problems in software design. They
10
10
### Classification
11
11
Design patterns differ by their complexity, level of detail and scale of applicability. In addition, they can be categorized by their intent and divided into three groups.
12
12
13
+
## Behavioral Patterns
14
+
15
+
### Strategy
16
+
Strategy is a behavioral design pattern that lets you define a family of algorithms, put each of them into a separate class, and make their objects interchangeable.
17
+
18
+
## Creational Patterns
19
+
20
+
### Builder
21
+
Builder is a creational design pattern that lets you construct complex objects step by step. The pattern allows you to produce different types and representations of an object using the same construction code.
22
+
23
+
### Prototype
24
+
Prototype is a creational design pattern that lets you copy existing objects without making your code dependent on their classes.
25
+
26
+
### Singleton
27
+
Singleton is a creational design pattern that lets you ensure that a class has only one instance, while providing a global access point to this instance.
28
+
29
+
## Structural Patterns
30
+
31
+
### Adapter
32
+
Adapter is a structural design pattern that allows objects with incompatible interfaces to collaborate.
33
+
34
+
### Decorator
35
+
Decorator is a structural design pattern that lets you attach new behaviors to objects by placing these objects inside special wrapper objects that contain the behaviors.
0 commit comments