You can edit almost every page by Creating an account. Otherwise, see the FAQ.

Hyrum's Law

From EverybodyWiki Bios & Wiki




Hyrum's Law is a Software Engineering observation that states:

   With a sufficient number of users of an API,
   it does not matter what you promise in the contract:
   all observable behaviors of your system
   will be depended on by somebody.[1]

Origin[edit]

Hyrum's Law was stated by Hyrum Wright while he was working at Google[2]. Hyrum originally called it "The Law of Implicit Dependencies" but Titus Winters coined it "Hyrum's Law".

Examples[edit]

A hash table has no guarantee about ordering, but a deterministic compiler might return the same ordering while iterating over the members (even across multiple versions of the same compiler). This might cause a user of that data structure to rely on the ordering of that structure, despite there being no contract guaranteeing it will remain the same.

References[edit]

  1. https://www.hyrumslaw.com
  2. Winters, Titus; Tom, Manshreck; Wright, Hyrum. Software Engineering at Google: Lessons Learned from Programming Over Time. O'Reilly Media, Inc. p. 8. Search this book on


This article "Hyrum's Law" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Hyrum's Law. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.