← Back to archive

Repo of the Day

dwmkerr/hacker-laws

Published: Dec 4, 2026

Open repository ↗

🧠 Laws, Theories, Principles and Patterns for developers and technologists

Summary

dwmkerr/hacker-laws is a curated reference to laws, theories, principles, and patterns used in software engineering and technology. It explains ideas spanning distributed systems, performance, code design, user interfaces, team structure, and project delivery, with links to further reading and an online edition.

What it is useful for

The collection is useful as a shared vocabulary for technical discussions and a checklist for reviewing decisions that already involve trade-offs.

For example:

  • When discussing a distributed data store, the CAP entry provides a framework for reasoning explicitly about consistency, availability, and partition tolerance.
  • When considering parallelization, Amdahl’s Law explains why adding processors has limited value when part of the workload must remain sequential.
  • When reviewing team or service boundaries, Conway’s Law connects system structure to organizational structure.
  • During code review, entries such as SOLID, KISS, DRY, and YAGNI provide concise prompts for questions about responsibility, complexity, duplication, and unnecessary functionality.
  • For incident reviews, Hanlon’s Razor and Murphy’s Law can encourage engineers to examine misunderstood behavior and operational assumptions before assuming bad intent or isolated failure.

The material also includes less formal concepts, such as the 90–9–1 Principle, Gall’s Law, and the Unix Philosophy. This makes it useful as a catalog of recurring discussions, but the README explicitly warns that it does not advocate any listed law. These are ideas to evaluate in context, not rules that should be applied automatically. Some cross-references, including Technical Debt, ACID, and PACELC, remain marked as TODO, so the repository is an overview rather than a complete or final reference.

How engineers can use it

The README documents no installation, build, or execution commands. Engineers can start directly with the repository’s table of contents or the web version; there is no setup process specified in the README.

A practical way to use it during real work is to select the topic relevant to a decision before a design review, architecture discussion, retrospective, or code review. For example, a team choosing how a service should behave during network partitions can read CAP, record the guarantees it is intentionally providing, and use the linked references to examine the trade-offs. Likewise, a team debating whether to split work across more machines can use Amdahl’s Law to identify which parts of the workload are actually parallelizable.

The README also lists translations in several languages, an online resource collection, and contribution guidance. Engineers who want to correct or extend an entry can follow the repository’s Contributing Guidelines.