Factory pattern is a commonly used creational design pattern. It is normally used when the user is ex…

» DEV Community | dev.to