ArticleslgStudy

computer science

The Cathedral and the Bazaar

The Cathedral and the Bazaar is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand The Cathedral and the Bazaar rather than just read about it. In short: The Cathedral and the Bazaar: Musings on Linux and Open Source by an Accidental Revolutionary (abbreviated CatB) is an essay, and later a book, by Eric S. Raymond on software engineering methods, based on his observations of the Linux kernel development process and his experiences managing an open source project, fetchmail.

The Cathedral and the Bazaar — main illustration
The Cathedral and the Bazaar — illustration

Key takeaways

  • The Cathedral and the Bazaar belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect The Cathedral and the Bazaar to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of The Cathedral and the Bazaar from memory before moving on to harder problems.

Reference excerpt

The Cathedral and the Bazaar: Musings on Linux and Open Source by an Accidental Revolutionary (abbreviated CatB) is an essay, and later a book, by Eric S. Raymond on software engineering methods, based on his observations of the Linux kernel development process and his experiences managing an open source project, fetchmail. It examines the struggle between top-down and bottom-up design. The essay was first presented by Raymond at the Linux Kongress on May 27, 1997, in Würzburg, Germany, and was published as the second chapter of the same‑titled book in 1999. The illustration on the cover of the book is a 1913 painting by Lyubov Popova titled Composition with Figures and belongs to the collection of the State Tretyakov Gallery. The book was released under the Open Publication License v2.0 in 1999.

Central thesis The software essay contrasts two different free software development models:

The cathedral model, in which source code is available with each software release, but code developed between releases is restricted to an exclusive group of software developers. GNU Emacs and GCC were presented as examples. The bazaar model, in which the code is developed over the Internet in view of the public. Raymond credits Linus Torvalds, leader of the Linux kernel project, as the inventor of this process. Raymond also provides anecdotal accounts of his own implementation of this model for the Fetchmail project. The essay's central thesis is Raymond's proposition that "given enough eyeballs, all bugs are shallow" (which he terms Linus's law): the more widely available the source code is for public testing, scrutiny, and experimentation, the more rapidly all forms of bugs will be discovered. In contrast, Raymond claims that an inordinate amount of time and energy must be spent hunting for bugs in the Cathedral model, since the working version of the code is available only to a few developers.

Lessons for creating good open source software Raymond points to 19 "lessons" learned from various software development efforts, each describing attributes associated with good practice in open source software development:

Every good work of software starts by scratching a developer's personal itch. Good programmers know what to write. Great ones know what to rewrite (and reuse). Plan to throw one [version] away; you will, anyhow (copied from Frederick Brooks's The Mythical Man-Month). If you have the right attitude, interesting problems will find you. When you lose interest in a program, your last duty to it is to hand it off to a competent successor. Treating your users as co-developers is your least-hassle route to rapid code improvement and effective debugging. Release early. Release often. And listen to your customers. Given a large enough beta-tester and co-developer base, almost every problem will be characterized quickly and the fix obvious to someone. Smart data structures and dumb code works a lot better than the other way around. If you treat your beta-testers as if they're your most valuable resource, they will respond by becoming your most valuable resource. The next best thing to having good ideas is recognizing good ideas from your users. Sometimes the latter is better. Often, the most striking and innovative solutions come from realizing that your concept of the problem was wrong. Perfection (in design) is achieved not when there is nothing more to add, but rather when there is nothing more to take away. (Attributed to Antoine de Saint-Exupéry) Any tool should be useful in the expected way, but a truly great tool lends itself to uses you never expected. When writing gateway software of any kind, take pains to disturb the data stream as little as possible—and never throw away information unless the recipient forces you to! When your [configuration] language is nowhere near Turing-complete, syntactic sugar can be your friend. A security system is only as secure as its secret. Beware of pseudo-secrets. To solve an interesting problem, start by finding a problem that is interesting to you. Provided the development coordinator has a communications medium at least as good as the Internet, and knows how to lead without coercion, many heads are inevitably better than one.

Legacy and reception In 1998, the essay helped the final push for Netscape Communications Corporation to release the source code for Netscape Communicator and start the Mozilla project; it was cited by Frank Hecker and other employees as an outside independent validation of his arguments. Netscape's public recognition of this influence brought Raymond renown in hacker culture. When O'Reilly Media published the book in 1999 it became one of the first complete, commercially distributed books published under the Open Publication License. Marshall Poe, in his essay "The Hive", likens Wikipedia to the bazaar model that Raymond defines. Jimmy Wales himself was inspired by the work (as well as arguments put forward in pre-Internet works, such as Friedrich Hayek's article "The Use of Knowledge in Society"), arguing that "It opened my eyes to the possibility of mass collaboration". In 1999 Nikolai Bezroukov published two critical essays on Eric Raymond's views of open source software, the second one called "A second look at The Cathedral and the Bazaar". They produced a sharp response from Eric Raymond. Curtis Yarvin's essay "The Cathedral or the Bizarre", which argues for the end of American democracy, is named after the Raymond essay.

See also GNU Bazaar, a distributed version control system named to highlight its relation with the "bazaar" model "Homesteading the Noosphere"

Notes

References

External links

Official website Roberts, Russ (January 19, 2009). "Eric Raymond on Hacking, Open Source, and The Cathedral and the Bazaar". EconTalk. Library of Economics and Liberty.

Worked examples

Example 1 — a first encounter with The Cathedral and the Bazaar

Start with the simplest possible case. Write down what The Cathedral and the Bazaar claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to The Cathedral and the Bazaar before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about The Cathedral and the Bazaar ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of The Cathedral and the Bazaar

In research
The Cathedral and the Bazaar appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses The Cathedral and the Bazaar in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
The Cathedral and the Bazaar is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1997 essays, 1999 English-language non-fiction books, 1999 non-fiction books, so understanding it makes those chapters shorter.
In everyday life
Look for The Cathedral and the Bazaar outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “The Cathedral and the Bazaar” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study The Cathedral and the Bazaar in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what The Cathedral and the Bazaar means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain The Cathedral and the Bazaar out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is The Cathedral and the Bazaar in simple terms?

The Cathedral and the Bazaar: Musings on Linux and Open Source by an Accidental Revolutionary (abbreviated CatB) is an essay, and later a book, by Eric S. Raymond on software engineering methods, based on his observations of the Linux kernel development process and his experiences managing an open…

Why does The Cathedral and the Bazaar matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study The Cathedral and the Bazaar?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on The Cathedral and the Bazaar.

Tags

  • 1997 essays
  • 1999 English-language non-fiction books
  • 1999 non-fiction books
  • American essays
  • Books about free software
  • Books by Eric S. Raymond
  • Computer science books
  • English-language essays
  • Essays by Eric S. Raymond
  • Linus Torvalds
  • O'Reilly Media books
  • Open Publication License-licensed works

Keep exploring