Mid
From PDF
GoF Patterns
Gang of Four Patterns
Abstracting More Complex Object Creation:?
Short answer: You could extend this pattern to handle more complex object creation processes. For example, factories might create loggers with specific configurations, such as log levels (e.g., INFO, ERROR, DEBUG) or custom output formats, allowing even more flexibility in how objects are created.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png