2 min read
Given enough eyeballs, all bugs are shallow.
Takeaways
- Linus’s Law highlights the strength of peer review and community in software development. If a codebase is accessible to many developers, someone will eventually have the expertise to identify and fix a given bug.
- The rule is often cited as a key advantage of open-source software. When source code is widely available, you accumulate a large pool of contributors.
- Linus’s Law assumes those eyeballs are indeed looking, i.e., an active community. Simply being open-source doesn’t magically fix bugs.
Overview
Linux’s open development model, releasing code early and often to the public, results in rapid bug-finding. When many people use and review a piece of software, problems become apparent to someone.
What is a perplexing bug to you might be trivial to another programmer who spots it. Or among thousands of users, one will stumble on the exact reproduction steps, and another might submit a fix.
This law shows the core of open-source: that transparency and collaboration lead to more robust, reliable software.
However, it’s not absolute. Coordination and quality control are still needed. But as a guiding principle, Linus’s Law captures the self-correcting nature of a large developer ecosystem.
The “many eyeballs” principle is also why internal code reviews and pair programming can be effective.
Linus’s Law
Examples
Consider the Apache HTTP Server, an open-source web server used by millions. Because its code is open and it has a vast user base, many developers have at some point debugged or improved it. If there’s a security flaw or bug, odds are high that someone in the global community will discover it and report it. The infamous “Log4Shell” vulnerability in the Log4j library was identified and patched by the community.
In contrast, consider an enterprise software product that is proprietary with only a few clients. If a subtle bug appears, only the vendor’s small team and a few client implementers are likely to notice it. It might take a long time to surface and debug because of limited “eyeballs.”
Origins
The law is named after Linus Torvalds, the creator of Linux, but Eric S. Raymond formulated it in the late 1990s. In “The Cathedral and the Bazaar”, Raymond writes: “Given enough eyeballs, all bugs are shallow” and calls this Linus’s Law in honor of Torvalds’ open development approach.
The idea was inspired by the Linux community, where hundreds of developers worldwide were debugging the kernel simultaneously. The essay was first presented in 1997 and published as a book in 1999.
Further Reading
The Cathedral and the Bazaar Eric S. Raymond's influential essay on open-source development
Linus's Law - Wikipedia Overview of the law and its implications
With Enough Eyeballs, All Bugs Are Shallow - TechCrunch Analysis of the law in context of real-world vulnerabilities
Revisiting Linus's Law: Benefits and Challenges of OSS Peer Review Academic study on the impacts of member differences on open source peer review
An Empirical Study of Build Maintenance Effort - IEEE IEEE study examining software maintenance and the many-eyes hypothesis
Timeline of the xz open source attack Russ Cox's detailed timeline of the xz backdoor, a striking counterexample to many-eyes review
Want to go deeper?
All 63+ laws are covered with more depth, examples, and practical guidance in the Laws of Software Engineering book.
Last updated: July 20, 2026

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.