🧷 The First Law of Programming
Universal
“If it works, don’t touch it.”
🕵️ The Second Law of Programming
Universal
“If it breaks, it was the guy who left most recently.”
🎭 Murphy’s Law (Programming Edition)
Universal
Anything that can go wrong will go wrong, usually during a live demo.
🖥️ Derivation
Universal
A computer will do exactly what you write, not what you want.
⏳ Hofstadter’s Law
Planning
It always takes longer than you expect, even when you take into account Hofstadter’s Law.
👥 Brooks’s Law
Management
Adding manpower to a late software project makes it later.
📉 The Ninety-Ninety Rule
Planning
The first 90% of the code accounts for the first 90% of the development time. The remaining
10% accounts for the other 90%.
🏢 Conway’s Law
Organization
Any piece of software reflects the organizational structure that produced it.
📬 Zawinski’s Law
Features
Every program eventually expands until it can read mail.
👀 Linus’s Law
Bugs
With enough eyes, bugs are easier to spot.
🐢 Wirth’s Law
Performance
Software slows down faster than hardware speeds up.
🧠 Greenspun’s Tenth Rule
Complexity
Complex, buggy systems are often just bad imitations of Common Lisp.
🐉 Hydra Rule
Bugs
Fixing one bug causes two new ones to appear.
📝 Murphy’s Corollary
Maintenance
If software is useless, it will have to be documented. If it is useful, it will have to be
changed.
💻 “Works on My Machine” Principle
Daily life
The ultimate argument that ends every bug discussion — until production disagrees.
🦅 Eagleson’s Law
Code
Any code you haven’t looked at for 6 months might as well have been written by someone
else.
🥮 Baklava Principle
Architecture
Code with so many thin abstraction layers that each one merely passes the call along,
creating an unreadable stack.
🎤 Beyoncé Principle
Testing
If you liked it, then you should have put a CI test on it.
🐛 Lubarsky’s Law of Cybernetic Entomology
Bugs
There is always one more bug.
🎬 Demo Paradox
Demos
The probability of a flawless demo is inversely proportional to the number of viewers and
directly tied to the amount of money involved.
🪵 Woodpecker Effect
Quality
If builders built houses the way programmers write programs, the first woodpecker to come
along would destroy civilization.
🎥 Hollywood Principle
Frameworks
“Don’t call us, we’ll call you.” A classic way to describe inversion of control in
frameworks.
📚 Harper Principle
Psychology
No book is ever truly lost by lending — except the ones you actually wanted to keep.
💾 Parkinson’s Law in IT
Data
Data expands to fill all available memory.
👶 “9 Programmers” Principle
Management
Nine programmers cannot deliver a baby in a month — a warning against naïve linear staffing
assumptions.
🔪 Murderous Psychopath Law
Maintainability
Always code as if the person who ends up maintaining your code will be a violent psychopath
who knows where you live.
🌤️ Golden Rule of Optimism
Career
Never worry that something doesn’t work. If everything worked perfectly, you wouldn’t have a
job.
🗑️ Landfill Law
Legacy
Every project contains at least one module that nobody understands, yet nobody dares to
remove.
⏰ Last-Minute Principle
Friday
The most serious bug appears exactly 5 minutes before the end of your Friday shift.
🚨 Inevitability Theory
Deployment
If a bug “should practically never happen,” it will happen to the most important client
within the first hour after deployment.