Polski

Structural patterns

Adapter

Wraps an incompatible interface so it matches what the client expects, without touching existing code.

Article

Adapter – how to get along with code that speaks another language

Adapter translates the interface of a foreign class into the interface your code expects. An example of integrating a third-party geocoding SDK in C#, TypeScript, Java, Go and Python.

Related articles

Challenges

Around the topic

In this group: Structural patterns