Structural Design Patterns

Interfaces

Design Patterns as interfaces

So many of the GoF patterns are similar. It can sometimes be challenging to differentiate them. It helps me to understand patterns by how they compare in contrast. So I put together this summary of how the different GoF structural pattern interfaces relate.

Proxy – Proxy provides the same interface to pretend to be an object.

Adapter - provides different interface to pretend to be to be a different object.

Bridge – splits an interface between its abstraction and its implementation