Abstract Factory
refactoring.guru · 2,041 words · saved by 1 readers
Abstract Factory is a creational design pattern that lets you produce families of related objects without specifying their concrete classes.
/ Design Patterns / Creational Patterns Abstract Factory Intent Abstract Factory is a creational design pattern that lets you produce families of related objects without specifying their concrete classes. Problem Imagine that you’re creating a furniture shop simulator. Your code consists of classes that represent: A family of related products, say: Chair + Sofa + CoffeeTable . Several variants of this family. For example, products Chair + Sofa + CoffeeTable are available in these variants: Modern , Victorian , ArtDeco . Product families and their variants. You need a way to create individual f
saved by
related reading
- Design Patternsrefactoring.guru
- Factory Methodrefactoring.guru
- Design Patternsgrantslatton.com
- Abstractioncs.cornell.edu
- 17. Abstract Class - CS2030S Programming Methodology IInus-cs2030s.github.io
- The Wrong Abstraction - Sandi Metzsandimetz.com
- SOLID Design Principles Explained: Building Better Software Architecture | DigitalOceandigitalocean.com
- How to write complex softwaregrantslatton.com
- What's a design pattern?refactoring.guru
- SOLID Design Principles Explained- Stackifystackify.com
- Classification of patternsrefactoring.guru
- Abstractionsc4model.com