Design Patterns · Senior · Question 34 of 75
What's the risk of Postel's law ("be liberal in what you accept")?
- ✓Correct answer: Tolerating errors entrenches them in clients
- 2Strict validation always slows the server down several times
- 3The principle forbids client-side validation
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.