Lehman's Laws of Software Evolution
Updated 2026-08-01
Summary
Lehman's laws describe the regularities of software evolution, notably that a system must keep changing or it becomes progressively less useful.
Definition
Formulated by Manny Lehman beginning while studying IBM's OS/360. The laws describe E-type systems, programs embedded in and serving a real-world environment. The first law holds that such a system must undergo continual change or its usefulness declines. The second holds that internal complexity increases with each change unless dedicated work is done to reduce it. Later laws cover self-regulation, conservation of organizational stability, and declining growth rates, together framing maintenance as unavoidable.
Introduction
How to use
- Plan maintenance: budget refactoring as a permanent line item rather than a one-off cleanup project - Explain decay: use the laws to justify why untouched systems stop meeting changing needs - Manage debt: track complexity growth and intervene before it becomes unmanageable
Mechanism
Software models a changing world, so requirements drift away from the implementation that encodes them, and a system that never adapts becomes wrong rather than merely old. Meanwhile each change adds structure that is locally sensible and globally inconsistent, so internal complexity grows monotonically unless effort is spent removing it. Entropy in software is the default state, and maintenance is the counterforce.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- IBM's OS/360 grew so complex under continuous patching that Lehman derived the laws from studying its release history.
- Hypothetical: A legacy billing system untouched for years gradually stops matching pricing rules and demands a costly rewrite.
Common pitfalls
- Reading the laws as a prophecy of inevitable collapse rather than a warning that can be managed.
- Using them to excuse neglect, when the laws argue for continuous investment rather than resignation.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Lehman's_laws_of_software_evolutionverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS