The Cathedral and the Bazaar
   HOME

TheInfoList



OR:

''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 Software engineering is a branch of both computer science and engineering focused on designing, developing, testing, and maintaining Application software, software applications. It involves applying engineering design process, engineering principl ...
methods, based on his observations of the
Linux kernel The Linux kernel is a Free and open-source software, free and open source Unix-like kernel (operating system), kernel that is used in many computer systems worldwide. The kernel was created by Linus Torvalds in 1991 and was soon adopted as the k ...
development process and his experiences managing an
open source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use and view the source code, design documents, or content of the product. The open source model is a decentrali ...
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 sametitled 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 Free software, libre software, libreware sometimes known as freedom-respecting software is computer software distributed open-source license, under terms that allow users to run the software for any purpose as well as to study, change, distribut ...
development models: * The ''
cathedral A cathedral is a church (building), church that contains the of a bishop, thus serving as the central church of a diocese, Annual conferences within Methodism, conference, or episcopate. Churches with the function of "cathedral" are usually s ...
'' model, in which
source code In computing, source code, or simply code or source, is a plain text computer program written in a programming language. A programmer writes the human readable source code to control the behavior of a computer. Since a computer, at base, only ...
is available with each software release, but code developed between releases is restricted to an exclusive group of
software developer Software development is the process of designing and Implementation, implementing a software solution to Computer user satisfaction, satisfy a User (computing), user. The process is more encompassing than Computer programming, programming, wri ...
s.
GNU Emacs GNU Emacs is a text editor and suite of free software tools. Its development began in 1984 by GNU Project founder Richard Stallman, based on the Emacs editor developed for Unix operating systems. GNU Emacs has been a central component of the GNU ...
and GCC were presented as examples. * The ''
bazaar A bazaar or souk is a marketplace consisting of multiple small Market stall, stalls or shops, especially in the Middle East, the Balkans, Central Asia, North Africa and South Asia. They are traditionally located in vaulted or covered streets th ...
'' model, in which the code is developed over the
Internet The Internet (or internet) is the Global network, global system of interconnected computer networks that uses the Internet protocol suite (TCP/IP) to communicate between networks and devices. It is a internetworking, network of networks ...
in view of the public. Raymond credits
Linus Torvalds Linus Benedict Torvalds ( , ; born 28 December 1969) is a Finnish software engineer who is the creator and lead developer of the Linux kernel. He also created the distributed version control system Git. He was honored, along with Shinya Yam ...
, 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 ersionaway; 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 onfigurationlanguage 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 In computing, source code, or simply code or source, is a plain text computer program written in a programming language. A programmer writes the human readable source code to control the behavior of a computer. Since a computer, at base, only ...
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 O'Reilly Media, Inc. (formerly O'Reilly & Associates) is an American learning company established by Tim O'Reilly that provides technical and professional skills development courses via an online learning platform. O'Reilly also publishes b ...
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 Wikipedia is a free content, free Online content, online encyclopedia that is written and maintained by a community of volunteers, known as Wikipedians, through open collaboration and the wiki software MediaWiki. Founded by Jimmy Wales and La ...
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

* * {{DEFAULTSORT:Cathedral And The Bazaar, The 1997 essays 1999 non-fiction books American essays Computer science books Books about free software O'Reilly Media books Software development philosophies Software development books Software engineering papers Open Publication License-licensed works Essays by Eric S. Raymond Books by Eric S. Raymond Scientific essays Linus Torvalds