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: structural/decorator/README.md
+9
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,14 @@
1
1
# Decorator
2
2
3
+
## Elements
4
+
5
+
- Component
6
+
- Decorator
7
+
- Concrete Component
8
+
- Concrete Decorator
9
+
10
+
## Description
11
+
3
12
The decorator pattern provide a lot of benefits when working with legacy code. In this example legacy code is represented by a legacy recipe. A decorator add functionality and in this example decorators are new ingredients.
0 commit comments