O'Reilly logo
  • Yu Sasaki thinks this is interesting:

Let’s take a look at some problems that you might encounter when working with your legacy code or creating new code, and how the Factory pattern can help.

Figure 2-1. UML for Factory pattern


Cover of Design Patterns


UML: Factory pattern