Design Patterns · Junior · Question 11 of 75

What is a Facade?

Explanation

For example, an api module with getUser() and updateUser() hides fetch, headers, tokens, error handling and data transformation. The rest of the code doesn't know the details. A facade reduces coupling but shouldn't grow into a "god object".

Further reading

Problem with a question

Design Patterns · Junior · question 11

Test yourself

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

Take this quiz