#factory

Software Design Patterns (Factory)

Published at July 25, 2020 ·  2 min read

In this next post from the Software Design Patterns I’ll talk about one of my favorite patterns which is the Factory pattern, this pattern allows you to create objects without exposing the class directly or its functionality and you interact with the object through a common behavior called an interface. This pattern is great because it reduces complexity when you need to instantiate objects which have the same behavior so you can focus the business side of the application....