Skip to content

Glossary: Software Design Patterns

Simple factory

One function that knows every class and picks one, usually via a dict from names to classes. A new carrier needs one class and one dict entry.

Where the book teaches it

Related terms

FactoryRegistry