Tag: design-patterns

  • Factory Pattern

    The factory pattern is a design pattern that is used when working with one or more families of objects. It provides an interface for creating families of related or dependent objects without specifying their concrete class. It makes it easy to interchange families of objects, hides concrete objects behind an abstraction and provides consistency among…