docs: update factory method

This commit is contained in:
Ilkka Seppälä committed 2024-04-19 21:30:36 +03:00
1 parent 4a558bb956
commit a251032768
6 files changed
+37 -37

No files matched your search

-4
View File
@@ -7,10 +7,6 @@ tag:
- Instantiation
---
## Also known as
* Factory Method
## Intent
The Factory design pattern is intended to define an interface for creating an object, but allows subclasses to alter the type of objects that will be created. This pattern is particularly useful when the creation process involves complexity.