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
- Factory Methodrefactoring.guru
- Design Patternsrefactoring.guru
- Design Patternsgrantslatton.com
- Interface Craftinterfacecraft.dev
- Classification of patternsrefactoring.guru
- 17. Abstract Class - CS2030S Programming Methodology IInus-cs2030s.github.io
- Up and Down the Ladder of Abstractionworrydream.com
- Reading 10: Abstract Data Typesweb.mit.edu
- Abstractioncs.cornell.edu
- Reading 6: Abstract Data Typesweb.mit.edu
- LEAP 71 | PicoGK.org Blogpicogk.org
- How to do product positioning | Evan Conradevanjconrad.com