Abstract Factory: Parts That Must Match

When each brand needs its own connection, command format and status reader, and three separate factories each pick one by the brand's name, one copied line can hand a Bolt lock a Tuneo reader; an abstract factory gives each brand one kit that makes all of its parts, so they can't be mixed.

By

Updated

Cheat sheet: Abstract Factory: Parts That Must Match
Category
Data Structures
Level
Journeyman
Tags
Abstract Factory, Factory Method, OOP, Simple Factory