API Design · Senior · Question 4 of 75
How do Hyrum's Law and 'be conservative in what you send' interact in API evolution?
- 1They mean APIs never change
- 2They only apply to databases
- ✓Correct answer: Every observable behavior gets depended on, so expose as little as needed, document guarantees explicitly and avoid accidental contracts like field order
Explanation
Even error message text, default sort orders or response timing can become something clients rely on.