← Back to Laws
Sheet 1 · Fronts
Architecture1
Hyrum's Law
With a sufficient number of API users, all observable behaviors of your system will be depended on by somebody.
Hyrum Wright · 2012
See also → The Law of Leaky Abstractions
Architecture2
Gall's Law
A complex system that works is invariably found to have evolved from a simple system that worked.
John Gall · 1975
See also → Conway's Law
Architecture3
The Law of Leaky Abstractions
All non-trivial abstractions, to some degree, are leaky.
Joel Spolsky · 2002
See also → Hyrum's Law
Architecture4
Tesler's Law (Conservation of Complexity)
Every application has an inherent amount of irreducible complexity that can only be shifted, not eliminated.
Larry Tesler · 1980s
See also → Hyrum's Law
Sheet 1 · Backs (duplex)
Architecture1
Key takeaways
  1. 1With enough users, every observable behavior becomes an implicit contract.
  2. 2Even bugs get depended on. Fixing them is a breaking change for someone.
  3. 3The real API is not the spec. It is the full behavior as observed in the wild.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/hyrums-law/
Architecture2
Key takeaways
  1. 1Every working complex system evolved from a simpler working system. No exceptions.
  2. 2Big-bang designs fail because unknowns pile up faster than you can validate them.
  3. 3Build a small core that works, then grow it. Each step is tested against reality.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/galls-law/
Architecture3
Key takeaways
  1. 1All non-trivial abstractions break in some scenario, revealing what they hide.
  2. 2Using a high-level tool does not free you from understanding what is underneath.
  3. 3Abstractions are essential, but design for when they fail, not around the failure.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/law-of-leaky-abstractions/
Architecture4
Key takeaways
  1. 1Every system has irreducible complexity. You can move it, but you cannot remove it.
  2. 2If users face too many steps, you shifted complexity to the wrong place.
  3. 3Good design absorbs complexity internally so the user experience stays simple.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/teslers-law/
Sheet 2 · Fronts
Architecture5
CAP Theorem
A distributed system can guarantee only two of: consistency, availability, and partition tolerance.
Eric Brewer · 2000
See also → Fallacies of Distributed Computing
Architecture6
Second-System Effect
Small, successful systems tend to be followed by overengineered, bloated replacements.
Fred Brooks · 1975
See also → YAGNI (You Aren't Gonna Need It)
Architecture7
Fallacies of Distributed Computing
A set of eight false assumptions that new distributed system designers often make.
L. Peter Deutsch · 1994
See also → CAP Theorem
Architecture8
Law of Unintended Consequences
Whenever you change a complex system, expect surprise.
Robert K. Merton · 1936
See also → Hyrum's Law
Sheet 2 · Backs (duplex)
Architecture5
Key takeaways
  1. 1A distributed system can only guarantee two of: consistency, availability, partition tolerance.
  2. 2Network partitions are unavoidable, so the real choice is consistency vs. availability.
  3. 3Databases pick a side. MongoDB favors consistency; Cassandra favors availability.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/cap-theorem/
Architecture6
Key takeaways
  1. 1The first system is lean because constraints force discipline. The second sheds those constraints.
  2. 2Success breeds overconfidence. Teams underestimate how much harder a bigger scope is.
  3. 3Be suspicious of grand rewrites that promise to include everything.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/second-system-effect/
Architecture7
Key takeaways
  1. 1The network is not reliable, free, or secure. Treat all eight assumptions as false.
  2. 2Code that works locally can fail badly when latency, drops, or topology changes hit.
  3. 3Design defensively: retries, timeouts, encryption, and dynamic discovery are not optional.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/fallacies-of-distributed-computing/
Architecture8
Key takeaways
  1. 1Any significant change in a complex system will produce results you did not expect.
  2. 2Side effects can be good, bad, or perverse (making the original problem worse).
  3. 3A fix in one module can break another that quietly depended on the old behavior.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/law-of-unintended-consequences/
Sheet 3 · Fronts
Architecture9
Zawinski's Law
Every program attempts to expand until it can read mail.
Jamie Zawinski · 1995
See also → Second-System Effect
Teams10
Conway's Law
Organizations design systems that mirror their own communication structure.
Melvin Conway · 1967
See also → Brooks's Law
Teams11
Brooks's Law
Adding manpower to a late software project makes it later.
Frederick P. Brooks Jr. · 1975
See also → Conway's Law
Teams12
Dunbar's Number
There is a cognitive limit of about 150 stable relationships one person can maintain.
Robin Dunbar · 1992
See also → Conway's Law
Sheet 3 · Backs (duplex)
Architecture9
Key takeaways
  1. 1Popular software accumulates features until it tries to do everything.
  2. 2Once users live in an app all day, pressure builds to make it a full platform.
  3. 3Adding features is easy. Saying no to the wrong ones is the hard part.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/zawinskis-law/
Teams10
Key takeaways
  1. 1Software architecture tends to mirror the org chart and team boundaries.
  2. 2Silos in the org become silos in the code that do not talk well.
  3. 3Want a target architecture? Reshape teams to match it (Inverse Conway).
Laws of Software Engineering lawsofsoftwareengineering.com/laws/conways-law/
Teams11
Key takeaways
  1. 1Adding developers to a late project makes it later, not faster.
  2. 2New hires need ramp-up time and consume senior engineers’ capacity.
  3. 3Scope or schedule cuts beat headcount as a response to slippage.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/brooks-law/
Teams12
Key takeaways
  1. 1People can maintain stable working relationships with roughly 150 others.
  2. 2Past that limit, informal coordination breaks and hierarchy must fill in.
  3. 3Effective working groups are far smaller: 5-15, not 150.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/dunbars-number/
Sheet 4 · Fronts
Teams13
The Ringelmann Effect
Individual productivity decreases as group size increases.
Max Ringelmann · 1913
See also → Brooks's Law
Teams14
Price's Law
The square root of the total number of participants does 50% of the work.
Derek de Solla Price · 1963
See also → The Ringelmann Effect
Teams15
Putt's Law
Those who understand technology don't manage it, and those who manage it don't understand it.
Archibald Putt · 1981
See also → Peter Principle
Teams16
Peter Principle
In a hierarchy, every employee tends to rise to their level of incompetence.
Laurence J. Peter · 1969
See also → Dilbert Principle
Sheet 4 · Backs (duplex)
Teams13
Key takeaways
  1. 1Individual effort drops as group size grows (social loafing).
  2. 2Coordination overhead rises with headcount, eating into output time.
  3. 3Small, focused teams with clear ownership outperform larger diffuse ones.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/ringelmann-effect/
Teams14
Key takeaways
  1. 1The square root of contributors does roughly half the total work.
  2. 2In a 100-person org, about 10 people produce half the output.
  3. 3Losing those core contributors has outsized impact on team productivity.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/prices-law/
Teams15
Key takeaways
  1. 1Those who understand the tech rarely manage it, and vice versa.
  2. 2The gap produces unrealistic deadlines and engineers who feel ignored.
  3. 3Tech leads and CTOs bridge it by keeping one foot in each world.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/putts-law/
Teams16
Key takeaways
  1. 1Promotion rewards current performance, not fitness for the next role.
  2. 2Great engineers become mediocre managers, and the loss compounds.
  3. 3IC career tracks let top engineers grow without forcing a manager move.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/peter-principle/
Sheet 5 · Fronts
Teams17
Bus Factor
The minimum number of team members whose loss would put the project in serious trouble.
Software folklore · 1990s
See also → Conway's Law
Teams18
Dilbert Principle
Companies tend to promote incompetent employees to management to limit the damage they can do.
Scott Adams · 1996
See also → Peter Principle
Planning19
Premature Optimization (Knuth's Optimization Principle)
Premature optimization is the root of all evil.
Donald Knuth · 1974
See also → YAGNI (You Aren't Gonna Need It)
Planning20
Parkinson's Law
Work expands to fill the time available for its completion.
Cyril Parkinson · 1955
See also → Hofstadter's Law
Sheet 5 · Backs (duplex)
Teams17
Key takeaways
  1. 1Bus factor counts how many people must leave before a project stalls.
  2. 2A factor of 1 is a single point of failure in your team’s knowledge.
  3. 3Pair programming, code review, and docs spread knowledge and raise it.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/bus-factor/
Teams18
Key takeaways
  1. 1Weak contributors sometimes get promoted to move them off real work.
  2. 2The result is an incompetent manager and one fewer productive engineer.
  3. 3Dual career tracks (IC and manager) help avoid this by design.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/dilbert-principle/
Planning19
Key takeaways
  1. 197% of code is not a bottleneck. Optimizing it early wastes time and adds complexity.
  2. 2Write clear, correct code first. Profile to find the real hotspot, then optimize it.
  3. 3Early optimization often adds bugs and rigidity before you know what actually matters.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/premature-optimization/
Planning20
Key takeaways
  1. 1Work expands to fill the time given. Loose deadlines invite procrastination.
  2. 2Extra time is spent on gold-plating and minor tweaks that add little value.
  3. 3Time-boxing tasks (as in sprints) is a direct counter to this effect.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/parkinsons-law/
Sheet 6 · Fronts
Planning21
The Ninety-Ninety Rule
The first 90% of the code accounts for the first 90% of development time; the remaining 10% accounts for the other 90%.
Tom Cargill · 1985
See also → Hofstadter's Law
Planning22
Hofstadter's Law
It always takes longer than you expect, even when you take into account Hofstadter's Law.
Douglas Hofstadter · 1979
See also → Parkinson's Law
Planning23
Goodhart's Law
When a measure becomes a target, it ceases to be a good measure.
Charles Goodhart · 1975
See also → Dilbert Principle
Planning24
Gilb's Law
Anything you need to quantify can be measured in some way better than not measuring it.
Tom Gilb · 1988
See also → Goodhart's Law
Sheet 6 · Backs (duplex)
Planning21
Key takeaways
  1. 1The last 10% of a project (edge cases, bugs, polish) takes as long as the first 90%.
  2. 2‘Almost done’ is a danger zone. Plan for significant effort in the finishing phase.
  3. 390% complete + 90% remaining = 180% of your original estimate.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/ninety-ninety-rule/
Planning22
Key takeaways
  1. 1Developers consistently underestimate, even after accounting for past underestimates.
  2. 2Hidden tasks and integration surprises emerge during work and extend timelines.
  3. 3Add buffers, but plan for those buffers to be consumed too.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/hofstadters-law/
Planning23
Key takeaways
  1. 1Once a metric becomes a target, people optimize the number, not the outcome.
  2. 2Ticket counts, coverage %, and velocity all get gamed when they become goals.
  3. 3Use metrics for awareness and pair them with qualitative judgment.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/goodharts-law/
Planning24
Key takeaways
  1. 1An approximate measure beats no measure. Something beats blindness.
  2. 2Hard-to-quantify things like code quality can be tracked via proxy indicators.
  3. 3Start measuring, then refine. The act of measuring sharpens team focus.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/gilbs-law/
Sheet 7 · Fronts
Quality25
The Boy Scout Rule
Leave the code better than you found it.
Robert C. Martin · 2008
See also → Broken Windows Theory
Quality26
Murphy's Law / Sod's Law
Anything that can go wrong will go wrong.
Edward A. Murphy Jr. · 1949
See also → Confirmation Bias
Quality27
Postel's Law
Be conservative in what you do, be liberal in what you accept from others.
Jon Postel · 1980
See also → Hyrum's Law
Quality28
Broken Windows Theory
Don't leave broken windows (bad designs, wrong decisions, or poor code) unrepaired.
Hunt and Thomas · 1999
See also → Technical Debt
Sheet 7 · Backs (duplex)
Quality25
Key takeaways
  1. 1Whenever you touch code, improve one small thing nearby.
  2. 2Small cleanups compound over time into a healthier codebase.
  3. 3This builds a team culture where everyone owns code quality.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/boy-scout-rule/
Quality26
Key takeaways
  1. 1If something can go wrong in code, it eventually will, plan for it.
  2. 2Add error handling, input validation, and graceful fallbacks.
  3. 3Write tests for edge cases before production finds them for you.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/murphys-law/
Quality27
Key takeaways
  1. 1Send data that strictly follows the spec; accept data with minor variations.
  2. 2Tolerant input handling makes distributed systems more resilient.
  3. 3Too much tolerance can mask producer bugs and introduce security risks.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/postels-law/
Quality28
Key takeaways
  1. 1One unrepaired bug signals that low quality is acceptable here.
  2. 2A clean codebase invites care; a messy one invites more mess.
  3. 3Fix problems while small to prevent a downward spiral of quality.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/broken-windows-theory/
Sheet 8 · Fronts
Quality29
Technical Debt
Technical Debt is everything that slows us down when developing software.
Ward Cunningham · 1992
See also → Broken Windows Theory
Quality30
Linus's Law
Given enough eyeballs, all bugs are shallow.
Eric S. Raymond · 1997
See also → Brooks's Law
Quality31
Kernighan's Law
Debugging is twice as hard as writing the code in the first place.
Brian Kernighan · 1974
See also → KISS (Keep It Simple, Stupid)
Quality32
Testing Pyramid
A project should have many fast unit tests, fewer integration tests, and only a small number of UI tests.
Mike Cohn · 2009
See also → Lehman's Laws of Software Evolution
Sheet 8 · Backs (duplex)
Quality29
Key takeaways
  1. 1Every shortcut borrows time from the future and accrues interest.
  2. 2Ignored debt compounds until it slows all further development.
  3. 3Intentional debt, taken consciously with a repayment plan, can be useful.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/technical-debt/
Quality30
Key takeaways
  1. 1Given enough reviewers, someone has the expertise to spot any bug.
  2. 2Open code accelerates bug discovery by widening the reviewer pool.
  3. 3The law only holds when people are actively looking, not just passively watching.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/linuss-law/
Quality31
Key takeaways
  1. 1Debugging is twice as hard as writing the code in the first place.
  2. 2If you write at the limit of your cleverness, you cannot debug it later.
  3. 3Simple, readable code pays back its cost many times over in debug time.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/kernighans-law/
Quality32
Key takeaways
  1. 1Write many fast unit tests, fewer integration tests, and very few UI tests.
  2. 2Most bugs should be caught at the cheapest (unit) level.
  3. 3An inverted pyramid produces a slow, fragile suite that delays feedback.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/testing-pyramid/
Sheet 9 · Fronts
Quality33
Pesticide Paradox
Repeatedly running the same tests becomes less effective over time.
Boris Beizer · 1990
See also → Lehman's Laws of Software Evolution
Quality34
Lehman's Laws of Software Evolution
Software that reflects the real world must evolve, and that evolution has predictable limits.
Manny Lehman · 1974
See also → Brooks's Law
Quality35
Sturgeon's Law
90% of everything is crap.
Theodore Sturgeon · 1957
See also → Goodhart's Law
Scale36
Amdahl's Law
The speedup from parallelization is limited by the fraction of work that cannot be parallelized.
Gene Amdahl · 1967
See also → Gustafson's Law
Sheet 9 · Backs (duplex)
Quality33
Key takeaways
  1. 1A test suite that never changes will stop finding new bugs over time.
  2. 2Fixed tests cannot catch defects in code those tests never exercise.
  3. 3Update and extend tests regularly, especially when new features ship.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/pesticide-paradox/
Quality34
Key takeaways
  1. 1Real-world software must keep evolving or it becomes less useful over time.
  2. 2Each change adds complexity, slowing future changes unless you refactor.
  3. 3A team can only absorb so much change per release. Familiarity is a hard limit.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/lehmans-laws/
Quality35
Key takeaways
  1. 190% of features, code paths, and ideas add little real value.
  2. 2The challenge is identifying and focusing on the high-impact 10%.
  3. 3Pretending all work has equal value adds complexity and slows delivery.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/sturgeons-law/
Scale36
Key takeaways
  1. 1The sequential fraction sets a hard ceiling on how fast any system can go.
  2. 2More cores expose bottlenecks but cannot remove them. Fix serial paths first.
  3. 3Decision bottlenecks work the same way: one approver limits the whole team.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/amdahls-law/
Sheet 10 · Fronts
Scale37
Gustafson's Law
It is possible to achieve significant speedup in parallel processing by increasing the problem size.
John L. Gustafson · 1988
See also → Amdahl's Law
Scale38
Metcalfe's Law
The value of a network is proportional to the square of the number of users.
Robert Metcalfe · 1980
See also → Amdahl's Law
Design39
YAGNI (You Aren't Gonna Need It)
Don't add functionality until it is necessary.
Ron Jeffries · late 1990s
See also → KISS (Keep It Simple, Stupid)
Design40
DRY (Don't Repeat Yourself)
Every piece of knowledge must have a single, unambiguous, authoritative representation.
Andy Hunt and Dave Thomas · 1999
See also → SOLID Principles
Sheet 10 · Backs (duplex)
Scale37
Key takeaways
  1. 1More processors let you tackle bigger problems in the same time, not just faster ones.
  2. 2Parallel speedup is not limited when workload grows with available resources.
  3. 3Design systems to scale out: add nodes and add scope, not just add speed.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/gustafsons-law/
Scale38
Key takeaways
  1. 1Network value scales with the square of users, so growth is non-linear.
  2. 2Each new user multiplies value for everyone already connected.
  3. 3The same math works in reverse: user loss shrinks value faster than linearly.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/metcalfes-law/
Design39
Key takeaways
  1. 1Do not write code for features that have not been requested yet.
  2. 2Speculative hooks and abstractions add complexity you may never need.
  3. 3Defer features only if you trust you can add them cheaply when required.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/yagni/
Design40
Key takeaways
  1. 1Each piece of knowledge must live in exactly one place in the system.
  2. 2Duplicated logic means one bug fix needs to happen in multiple places.
  3. 3DRY applies to knowledge, not just similar-looking code.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/dry-principle/
Sheet 11 · Fronts
Design41
KISS (Keep It Simple, Stupid)
Designs and systems should be as simple as possible.
Kelly Johnson · 1960s
See also → YAGNI (You Aren't Gonna Need It)
Design42
SOLID Principles
Five main guidelines that enhance software design, making code more maintainable and scalable.
Robert C. Martin · early 2000s
See also → Law of Demeter
Design43
Law of Demeter
An object should only interact with its immediate friends, not strangers.
Ian Holland · 1987
See also → SOLID Principles
Design44
Principle of Least Astonishment
Software and interfaces should behave in a way that least surprises users and other developers.
Programming folklore · 1960s
See also → Hyrum's Law
Sheet 11 · Backs (duplex)
Design41
Key takeaways
  1. 1Prefer the simpler solution that meets the requirement over a clever one.
  2. 2Simple code is faster to understand, debug, and hand off to others.
  3. 3Resist building for future problems at the cost of present complexity.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/kiss-principle/
Design42
Key takeaways
  1. 1Single responsibility, open/closed, Liskov, interface segregation, dependency inversion.
  2. 2Together they produce loosely coupled code that can be extended without modifying existing classes.
  3. 3Overapplying SOLID creates abstract layers for no gain. Apply where complexity justifies it.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/solid-principles/
Design43
Key takeaways
  1. 1Only call methods on objects you directly hold, not on objects they return.
  2. 2Chaining through neighbors (a.b.c.do()) ties your code to deep structure.
  3. 3Add a wrapper method on the neighbor so callers stay one hop away.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/law-of-demeter/
Design44
Key takeaways
  1. 1Behavior should match the mental model users already bring to the interface.
  2. 2Following platform conventions is the fastest way to meet expectations.
  3. 3Surprises in APIs and UIs lead directly to mistakes and distrust.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/principle-of-least-astonishment/
Sheet 12 · Fronts
Decisions45
Dunning-Kruger Effect
The less you know about something, the more confident you tend to be.
Dunning and Kruger · 1999
See also → Brooks's Law
Decisions46
Hanlon's Razor
Never attribute to malice that which is adequately explained by stupidity or carelessness.
Robert J. Hanlon · 1980
See also → Occam's Razor
Decisions47
Occam's Razor
The simplest explanation is often the most accurate one.
William of Ockham · 14th century
See also → KISS (Keep It Simple, Stupid)
Decisions48
Sunk Cost Fallacy
Sticking with a choice because you've invested time or energy in it, even when walking away helps you.
Richard Thaler · 1980
See also → Occam's Razor
Sheet 12 · Backs (duplex)
Decisions45
Key takeaways
  1. 1Early confidence often signals ignorance, not mastery.
  2. 2Learning first reduces confidence as you discover what you do not know.
  3. 3Real experts speak in ranges and trade-offs, not certainties.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/dunning-kruger-effect/
Decisions46
Key takeaways
  1. 1When something breaks, assume error or misunderstanding before assuming malice.
  2. 2Start with simple explanations: a typo, a missed config, a misread spec.
  3. 3Approach a colleague’s bad code with questions, not accusations.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/hanlons-razor/
Decisions47
Key takeaways
  1. 1Prefer the simplest design that meets the requirement; extra parts add failure points.
  2. 2When debugging, start with the simplest explanation before complex theories.
  3. 3More features rarely add value; they usually add complexity.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/occams-razor/
Decisions48
Key takeaways
  1. 1Past investment is not a reason to continue a project that is clearly not working.
  2. 2Healthy teams pivot or stop bad projects; continuing adds loss on top of loss.
  3. 3Set explicit decision points: if target X is not met by date Y, re-evaluate.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/sunk-cost-fallacy/
Sheet 13 · Fronts
Decisions49
The Map Is Not the Territory
Our representations of reality are not the same as reality itself.
Alfred Korzybski · 1933
See also → Goodhart's Law
Decisions50
Confirmation Bias
A tendency to favor information that supports our existing beliefs or ideas.
Peter Wason · 1960
See also → Dunning-Kruger Effect
Decisions51
The Hype Cycle & Amara's Law
We tend to overestimate the effect of a technology in the short run and underestimate the impact in the long run.
Roy Amara · 1960s
See also → Goodhart's Law
Decisions52
The Lindy Effect
The longer something has been in use, the more likely it is to continue being used.
Albert Goldman · 1964
See also → Hyrum's Law
Sheet 13 · Backs (duplex)
Decisions49
Key takeaways
  1. 1Diagrams and docs are abstractions; do not confuse the blueprint with the software.
  2. 2Expect unforeseen factors to emerge once real code meets real infrastructure.
  3. 3When the running system contradicts your model, update the model.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/map-is-not-the-territory/
Decisions50
Key takeaways
  1. 1You naturally seek evidence that confirms what you already believe.
  2. 2When debugging, ask what you would expect to see if your theory is wrong.
  3. 3Use facts, tests, and dissenting voices to counteract your own bias.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/confirmation-bias/
Decisions51
Key takeaways
  1. 1We overestimate what a new technology does in the short term.
  2. 2We underestimate the same technology’s real impact over the long term.
  3. 3Evaluate new tools by proven value, not by buzz.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/hype-cycle-amaras-law/
Decisions52
Key takeaways
  1. 1The longer a technology has survived, the longer it is likely to keep going.
  2. 2Invest in timeless skills (algorithms, SQL, core languages) over new frameworks.
  3. 3Time filters out fragile and irrelevant things; what remains is usually valuable.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/lindy-effect/
Sheet 14 · Fronts
Decisions53
First Principles Thinking
Breaking a complex problem into its most basic blocks and then building up from there.
Aristotle
See also → Occam's Razor
Decisions54
Inversion
Solving a problem by considering the opposite outcome and working backward from it.
Carl Jacobi · 19th century
See also → First Principles Thinking
Decisions55
Pareto Principle (80/20 Rule)
80% of the problems result from 20% of the causes.
Vilfredo Pareto · 1906
See also → Premature Optimization (Knuth's Optimization Principle)
Decisions56
Cunningham's Law
The best way to get the correct answer on the Internet is not to ask a question, it's to post the wrong answer.
Ward Cunningham · 1980s
See also → Linus's Law
Sheet 14 · Backs (duplex)
Decisions53
Key takeaways
  1. 1Break a problem to its base facts and question every assumption before rebuilding.
  2. 2Industry convention is not a reason to repeat it; ask why things are done that way.
  3. 3Estimate from fundamentals, not from how long similar work took before.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/first-principles-thinking/
Decisions54
Key takeaways
  1. 1For any goal, ask what would cause the opposite outcome and list those factors.
  2. 2Run a pre-mortem: assume the project failed, then name the reasons.
  3. 3Thinking about how an API breaks leads to better validation and rate limits.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/inversion/
Decisions55
Key takeaways
  1. 120% of bugs cause 80% of crashes; fix the vital few for the biggest impact.
  2. 2Do not spend equal effort on everything; profile and find the hot 20%.
  3. 3Use data to find the imbalance; the ratio is rarely exactly 80/20 in practice.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/pareto-principle/
Decisions56
Key takeaways
  1. 1Posting a wrong answer draws corrections faster than asking a question.
  2. 2Propose a draft or prototype to get concrete feedback instead of silence.
  3. 3Assertions spark engagement; questions often do not.
Laws of Software Engineering lawsofsoftwareengineering.com/laws/cunninghams-law/