Abstract Factory: Benefits and Caveats
Compare the advantages and disadvantages of the Abstract Factory pattern.
We'll cover the following...
Benefits of using Abstract Factory
The benefits of using the Abstract Factory pattern are the same as that of using the Factory Method pattern. Let’s recap what those are:
- Abstract Factory enforces the single responsibility principle by separating conditional logic from the implementation of the logic inside each condition.
- This allows us to easily