Adapter — RexDac Academy

RexDac AcademyTechnical notes · Some prior knowledge helps
0%Published notes read · this device

Principles and Architecture / Design patterns / Structural

Adapter

Original notes by SunDiaL · View English source

The problem: You have two incompatible systems that need to communicate. It should not be the responsibility of the class to translate between the systems.

The solution: Extract the translation in a dedicated class.