This Design Pattern Replaces an Entire Class Hierarchy
This video compares three ways to model type-based variation in Python: subclasses, storing a type value such as an enum, and representing each variation as an object. Using a subscription system, i…
www.youtube.com/watch?v=IdwdqdywNOM