Skip to content

Commit d4d2642

Browse files
authored
Simple factory 🏭
1 parent a894a93 commit d4d2642

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The 23 Gang of Four (`GoF`) design patterns fall into three big camps:
1212
How do we create objects in a flexible way?
1313

1414
- Singleton – only one instance allowed
15+
- Simple Factory - Honourable mention not a true pattern
1516
- Factory Method – let a method decide which subclass to instantiate
1617
- Abstract Factory – a factory of related factories
1718
- Builder – step-by-step construction

0 commit comments

Comments
Β (0)