What is the Factory design pattern?
The factory pattern is a creational design pattern that uses factory methods to create objects — rather than by calling a constructor.
📚Materials/References:
GitHub: https://github.com/pkellz/devsage/blob/master/DesignPatterns/FactoryDesignPattern.js
"Design Patterns Explained Simply" Ebook: https://payhip.com/b/MLtJ
🌎 Find Me Here:
Twitter: https://twitter.com/realDevSage
Ebooks: https://payhip.com/devsage
Discord: https://discord.gg/BP8wPv6raA
Merch: https://cottonbureau.com/people/devsage