Factory Method - Design Pattern
Objective 🎯
Define an interface for creating an object, letting to the subclasses (a.k.a. factory) decide which class (a.k.a. product) will instantiate, by doing this, it will remove the client’s dependency on concrete classes making it unaware of t...
victorlins.hashnode.dev3 min read