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: content/general/concepts/abstract-factory-pattern/abstract-factory-pattern.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ CatalogContent:
14
14
- 'paths/computer-science'
15
15
---
16
16
17
-
The abstract factory pattern utilizes a common interface for multiple factories without defining their concrete model classes. It is often thought of as a factory of factory patterns where object composition is used to separate instantiation logic from application logic.
17
+
The **abstract factory pattern** utilizes a common interface for multiple factories without defining their concrete model classes. It is often thought of as a factory of factory patterns where object composition is used to separate instantiation logic from application logic.
Copy file name to clipboardExpand all lines: content/general/concepts/creational-design-patterns/creational-design-patterns.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,12 @@ CatalogContent:
14
14
- 'paths/computer-science'
15
15
---
16
16
17
-
Creational design patterns concern themselves with the instantiation of objects. At the time of creation, additional logic may be needed to decide what or how object types need to be created.
17
+
**Creational design patterns** concern themselves with the instantiation of objects. At the time of creation, additional logic may be needed to decide what or how object types need to be created.
18
18
19
19
Five main creational design patterns are outlined below:
20
20
21
21
-[Singleton](https://www.codecademy.com/resources/docs/general/singleton-pattern): Ensures a class has only one object instantiated during the programs lifecycle.
22
22
-[Builder](https://www.codecademy.com/resources/docs/general/builder-pattern): Decouples the responsibility of object creation from the desired object's class. It is normally implemented when a class requires many properties to be set during its construction.
23
23
-[Prototype](https://www.codecademy.com/resources/docs/general/prototype-pattern): Adds cloning functionality to an objects class.
24
24
-[Factory](https://www.codecademy.com/resources/docs/general/factory-pattern): Creates objects without specifying the specific class.
25
-
-[Abstract Factory](https://www.codecademy.com/resources/docs/general/abstract-factory): Groups object factories based on a common theme.
25
+
-[Abstract Factory](https://www.codecademy.com/resources/docs/general/abstract-factory-pattern): Groups object factories based on a common theme.
0 commit comments