dwmkerr /hacker-laws
🧠 Laws, Theories, Principles and Patterns for developers and technologists.
★ 27,351⑂ 1,568👁 435⑃ 242● 223▤ 9
+0
Daily
+26
Weekly
+44
Monthly
27,351
stars
1,568
forks
435
watchers
242
prs
223
issues
9
releases
README
hacker-laws
🧠 Laws, Theories, Principles and Patterns for developers and technologists.
---
- 📖 My new book Effective Shell (Online Version) on Amazon (Print/Kindle)
- 🌍 Try hackerlaws.dev
- 🧠 Check out my new project Terminal AI
- 🎧 Listen to the podcast The Changelog - Laws for Hackers to Live By
- 🌏 See the Translations: 🇧🇷 🇨🇳 🇫🇷 🇮🇹 🇱🇻 🇰🇷 🇷🇺 🇪🇸 🇹🇷 🇮🇩 🇯🇵 🇵🇱 🇻🇳
---
- Introduction
- Laws
- 90–9–1 Principle (1% Rule)
- 90–90 Rule
- Amdahl's Law
- The Broken Windows Theory
- Brooks' Law
- CAP Theorem (Brewer's Theorem)
- Clarke's three laws
- Conway's Law
- Cunningham's Law
- Dunbar's Number
- The Dunning-Kruger Effect
- Fitts' Law
- Gall's Law
- Goodhart's Law
- Hanlon's Razor
- Hick's Law (Hick-Hyman Law)
- Hofstadter's Law
- Hutber's Law
- The Hype Cycle & Amara's Law
- Hyrum's Law (The Law of Implicit Interfaces)
- Jevons' Paradox
- Input-Process-Output (IPO)
- Kernighan's Law
- Koomey's Law
- Linus's Law
- Metcalfe's Law
- Moore's Law
- Murphy's Law / Sod's Law
- Occam's Razor
- Parkinson's Law
- Premature Optimization Effect
- Putt's Law
- Reed's Law
- The Bitter Lesson
- The Ringelmann Effect
- The Law of Conservation of Complexity (Tesler's Law)
- The Law of Demeter
- The Law of Leaky Abstractions
- The Law of the Instrument
- The Law of Triviality
- The Unix Philosophy
- The Scout Rule
- The Spotify Model
- The Two Pizza Rule
- Twyman's law
- Wadler's Law
- Wheaton's Law
- Principles
- All Models Are Wrong (George Box's Law)
- Chesterton's Fence
- Kerckhoffs's principle
- The Dead Sea Effect
- The Dilbert Principle
- The Pareto Principle (The 80/20 Rule)
- The Shirky Principle
- The Stochastic Parrot
- The Peter Principle
- The Robustness Principle (Postel's Law)
- SOLID
- The Single Responsibility Principle
- The Open/Closed Principle
- The Liskov Substitution Principle
- The Interface Segregation Principle
- The Dependency Inversion Principle
- The DRY Principle
- The KISS principle
- YAGNI
- The Fallacies of Distributed Computing
- The Principle of Least Astonishment
- Reading List
- Online Resources
- Podcast
- Contributors
Introduction
There are lots of laws which people discuss when talking about development. This repository is a reference and overview of some of the most common ones. Please share and submit PRs!
This project may in time be turned into a book. Contributions will be acknowledged where reasonably practical. See the Contributing Guidelines for details.
Warning: This repo contains an explanation of some laws, principles and patterns, but does not _advocate_ for any of them. Whether they should be applied will always be a matter of debate, and greatly dependent on what you are working on.
Laws
Laws can be opinions on inevitabilities in thTop issues
#354Polish translation 🇵🇱5 comments · 2022-01-01#375Add Clarke's three laws4 comments · 2022-01-19#352I need help finding my hacker4 comments · 2021-12-27#106The Grep Test4 comments · 2019-05-22#309Add "Zawinski's Law"3 comments · 2020-09-12#293Add Handicap principle3 comments · 2020-07-09#231Japanese Translation3 comments · 2020-02-19#28Curriculums3 comments · 2018-10-16
Discussions
#440Hi am new here0 comments · 2025-03-30#424Airdrop script0 comments · 2024-10-30#420Broken Window Theory0 comments · 2024-08-11#417What is hacking0 comments · 2024-05-19#413Fixed match FIFA on1 comments · 2023-08-07#411Hacking library0 comments · 2023-07-27#409hi can you help me recover my hacked instagram account?1 comments · 2023-06-02#329Welcome to hacker-laws Discussions!3 comments · 2020-12-10
Latest release
v0.6.0 v0.6.0 2026-05-190.6.0 (2026-05-19) Features add Second-System Effect (040453d) add Second-System Effect (99b1ae8)