Laws of Software Engineering (@SoftwareEngLaws) header
Laws of Software Engineering (@SoftwareEngLaws) profile picture

A guide to the patterns that shape software systems, teams, and decisions, by @milan_milanovic.

Joined December 2025
Putt's Law Those who understand technology don't manage it, and those who manage it don't understand it.
1
6
Price's Law The square root of the total number of participants does 50% of the work.
1
11
The Ringelmann Effect Individual productivity decreases as group size increases.
1
8
Dunbar's Number There is a cognitive limit of about 150 stable relationships one person can maintain.
1
7
Law of Unintended Consequences Whenever you change a complex system, expect surprise.
1
20
Fallacies of Distributed Computing A set of eight false assumptions that new distributed system designers often make.
1
4
90
Second-System Effect Small, successful systems tend to be followed by overengineered, bloated replacements.
1
1
21
CAP Theorem A distributed system can guarantee only two of: consistency, availability, and partition tolerance.
1
2
64
Tesler's Law (Conservation of Complexity) Every application has an inherent amount of irreducible complexity that can only be shifted, not eliminated.
1
1
2
53
Gall's Law A complex system that works is invariably found to have evolved from a simple system that worked.
1
1
16
Brooks's Law Adding manpower to a late software project makes it later.
1
1
17
YAGNI (You Aren't Gonna Need It) Don't add functionality until it is necessary.
1
2
25
The Boy Scout Rule Leave the code better than you found it.
1
3
18
Hyrum's Law With a sufficient number of API users, all observable behaviors of your system will be depended on by somebody.
1
2
21
Premature Optimization (Knuth's Optimization Principle) Premature optimization is the root of all evil.
1
2
91
Conway's Law Organizations design systems that mirror their own communication structure.
1
2
43
Every senior engineer learned these the hard way. Conway's Law. Brooks's Law. Hyrum's Law. 63+ principles that shape every system, team, and decision. One book, so you don't pay the same tuition. lawsofsoftwareengineering.co…
1
4
149
The best engineers aren’t in charge, and those in charge aren’t deeply knowledgeable about the technology If you're the manager in that sentence, your job was never to understand it better than your engineers. The job is to stop pretending you do. Image: Scott Adams
1
3
52
I spent three days making a loop beautiful The real bottleneck was a database call two lines down that I never profiled Premature optimization rarely costs you the wasted days. It costs you the clever code your team maintains long after you've forgotten why. Image: xkcd
1
4
49