Hyrum's Law
Updated 2026-07-30
Summary
An application programming interface (API) is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build such a connection or interface is called an API specificat…
Definition
“When an API has enough users, what you promise in the contract doesn't matter: all observable behaviors of your system (even bugs or side effects) will be depended on by some users.” - Scaffold use: The curse of implicit dependencies. - This explains why reform is so difficult. You think you're just fixing a “bug,” only to find that this “bug” is not only regarded as a “feature” by employees but also becomes a core pillar of business processes. In complex systems, there is no “harmless change.” Any status quo (even a bad one) is the foundation on which some ecosystem survives.
Introduction
How to use
The curse of implicit dependencies. - This explains why reform is so difficult. You think you're just fixing a “bug,” only to find that this “bug” is not only regarded as a “feature” by employees but also becomes a core pillar of business processes. In complex systems, there is no “harmless change.” Any status quo (even a bad one) is the foundation on which some ecosystem survives.
Mechanism
Hyrum's Law: When an API has enough users, the behaviors you promise in the contract matter less than the behaviors that are actually depended on in practice—any observable output or side effect will be depended on by someone, and thus cannot be safely changed.
Practice
In progress 0/4Practice this model in one real situation:
Cases
- Changing the order of fields in a return or adding extra logs unexpectedly breaks downstream parsing; library upgrades cause crashes for those depending on undocumented behaviors.
Common pitfalls
- Assuming that anything outside the contract can be changed arbitrarily; underestimating the number of implicit dependencies; using documentation disclaimers instead of compatibility strategies.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/APIverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS