Design Patterns · Senior · Question 11 of 75

What is an Anti-Corruption Layer?

Explanation

Integration with a legacy API or a third-party SDK through adapters and mapping: odd field names, error codes and formats stay at the boundary. This reduces vendor lock-in: changing the provider affects only that layer.

Further reading

Problem with a question

Design Patterns · Senior · question 11

Test yourself

Take the Design Patterns · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz