I find this factory word quite confusing when talking about design patterns. there is static factory, then factory or Simple factory, then factory method and abstract factory. Let’s understand each of them one by one.
Static factory method:
This was a design technique not present in Gang of four