Category Design Patterns

Structural Design Pattern: Bridge

The Bridge Design Pattern is a structural pattern that decouples an abstraction from its implementation so that both can vary independently. It is commonly used when a class grows in two orthogonal dimensions and inheritance alone cannot prevent the explosion of subclasses.

Structural Design Pattern: Flyweight

The Flyweight pattern is one of the most resource-conscious patterns in existence. While the Singleton pattern was created to ensure a single instance of a class exists, the Flyweight pattern was created to handle millions of instances without crashing your memory.