Factory Method a Design pattern

The factory method is a design pattern that are used to construct a method allowing one to create different objects that shares an interface, and is therefore found as an creational design pattern. That makes the pattern very scalable, allowing one to add layers of abstraction to your code, and create objects that serves different…
Read more