jargon

Backend & systems·API and interface design

you wrap the legacy system's awkward model in a translation layer so its concepts do not leak into your new code.

Anti-corruption layer

Also calledACL, adapter layer

A translation boundary between your domain model and an external or legacy one. It keeps a foreign model's naming, quirks and constraints from spreading through your codebase. It costs an extra mapping layer, and it is what you wish you had built the first time a third-party field name ended up in your database.

Commonly confused with