Glossary term
What is factory (Factory pattern)?
factory stands for Factory pattern.
A function or class whose job is to create objects, so callers do not decide which concrete class to build.
Learn it properly · Design Patterns & LLDLesson 1: Creational Patterns: Factory, Builder, Singleton and FriendsFactories, builder, the module singleton and its traps, prototype, and dependency injection as the practical replacement.