Design Patterns · Senior · Question 34 of 75

What's the risk of Postel's law ("be liberal in what you accept")?

Explanation

If an API accepts malformed data, clients start relying on it, and fixing it becomes a breaking change. The modern approach is to validate input strictly and version changes explicitly.

Further reading

Problem with a question

Design Patterns · Senior · question 34

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