Skip to content

Commit 5a31b4d

Browse files
authored
Update README.md
1 parent 1235518 commit 5a31b4d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,31 @@ Patterns are a toolkit of solutions to common problems in software design. They
1010
### Classification
1111
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.
1212

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.
36+
37+
38+
39+
1340

0 commit comments

Comments
 (0)