Flyweight
Quick Information/Overview Pattern Type Structural Applicable Language/Framework Agnostic OOP Pattern Source Gang of Four Difficulty Easy Up Front Definitions Client: Code that uses the flyweight implementation Concrete Flyweight: A class that actually implements the abstract class/interface flyweight. Extrinsic State: State that is not common to the flyweights and varies per instance. Flyweight: An interface that defines…
