The cathedral and the Bazaar | Eric Steven Raymond
@open source @Steven @Raymond @cathedral @bazaar
General message:
the cutting edge of open-source software will belong to people who start from individual vision and brilliance, then amplify it through the effective construction of voluntary communities of interest.
Two styles of open source development:
The Cathedral
- complex software requires a centralized, a priori approach
- crafted by "individual wizards" or "small bands of mages" in isolation
- no beta released too early, you don't want to wear out the patience of users
- requires great debugging effort within the dev team
- great disappointment if in a long-awaiting release still some bugs remain
The Bazaar
- Release early and often
- Delegate everything you can
- Be extremely open
- "great babbling bazaar of differing agendas and approaches"
Preconditions
- Can't go bazaar from ground up. You need something runnable and testable to begin with.
- You need plausible promise: it must run, and must have potential to become a useful tool for its user co-developers.
- This requires design cleverness: a robust basic design that others can build on
- The project leader does not need to have genius design talent: more important to recognize good design ideas from others.
- Some charm
General lessons
1) Every good work of software starts by scratching a developer's personal itch 2) Good programmers know what to write. Great ones know what to rewrite (and reuse) 3) Plan to throw one away: you will, anyhow. (quote from Fred Brooks) 4) If you have the right attitude, interesting problems will find you 5) When you lose interest in a program, your last duty to it is to hand it off to a competent successor 6) Treating your users as co-developers is your least-hassle route to rapid code improvements and effective debugging (main innovation from Linux) 7) Release early. Release often. And listen to your customers. 8) Given a large enough beta-tester and co-developer base, almost every problem will be characterized quickly and the fix obvious to someone. - A.k.a. Linus's Law: "Given enough eyeballs, all bugs are shallow" or rephrased: "Debugging is parallelizable" 9) smart data structures and dumb code works a lot better than the other way around 10) If you treat your beta-testers as if they're your most valuable resource, they will respond by becoming your most valuable resource. 11) The next best thing to having good ideas is recognizing good ideas from your users. Sometimes the latter is better. 12) Often, the most striking and innovative solutions come from realizing that your concept of the problem was wrong. 13) Perfection (in design) is achieved not when there is nothing more to add, but rather when there is nothing more to take away - Saint-ExupΓ©ry 14) Any tool should be useful in the expected way, but a truly great tool lends itself to uses you never expected. 15) 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! 16) When your language is nowhere near Turing-complete, syntactic sugar can be your friend. 17) A security system is only as secure as its secret. Beware of pseudo-secrets. 18) To solve an interesting problem, start by finding a problem that is interesting to you 19) Provided that the development coordinator has a medium at least as good as the Internet, and known how to lead without coercion, many heads are inevitably better than one.
(1) increases the quality of software, because people are invested. (2) constructive laziness