Design Patterns

Structural Patterns

How objects are composed โ€” build flexible larger structures.

Coming soon: Structural patterns introduction.

๐Ÿ”Œ

Adapter

  • Convert one interface to another
  • Tier 2 ยท Foundational
๐ŸŒ‰

Bridge

  • Separate abstraction from implementation
  • Tier 3 ยท Intermediate
๐ŸŒฒ

Composite

  • Compose objects into tree structures
  • Tier 2 ยท Intermediate
๐ŸŽ

Decorator

  • Add responsibilities dynamically
  • Tier 1 ยท Intermediate
๐Ÿ 

Facade

  • Provide a simplified interface
  • Tier 2 ยท Foundational
๐Ÿชถ

Flyweight

  • Share fine-grained objects efficiently
  • Tier 3 ยท Advanced
๐Ÿ›ก๏ธ

Proxy

  • Control access to another object
  • Tier 2 ยท Intermediate