docs: update factory method

This commit is contained in:
Ilkka Seppälä
2024-04-19 21:30:36 +03:00
parent 4a558bb956
commit a251032768
6 changed files with 37 additions and 37 deletions
-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.