Quantcast
Viewing all articles
Browse latest Browse all 23

Answer by Kaiyakha for What are the differences between Abstract Factory and Factory design patterns?

The quote from Design Patterns: Elements of Reusable Object-Oriented Software, p. 94 relates to a Maze design example.

Notice that the MazeFactory is just a collection of factory methods. This is themost common way to implement the Abstract Factory pattern.

Also, the Abstract Factory chapter never provides or even mentions a composition-based implementation.


Viewing all articles
Browse latest Browse all 23

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>