Kuro5hin.org: Optimization and the Bazaar | Linux Today

Kuro5hin.org: Optimization and the Bazaar

Written By
Web Webster
Web Webster
Dec 21, 2000

“Donald Knuth coined the phrase “Premature optimization is the
root of all evil.” In the development stages of a software project,
the accepted wisdom is that it is most important to code for
clarity first, to make sure the design is logical and the code easy
to understand, and not worry about speed until the project is
feature-complete. But where does this leave a project operating
under the Bazaar model, that has to release un-optimized code to
the public?”

“Well-factored code is beautiful. When you sit down in front of
someone else’s program for the first time, and in short order
you’ve not only found the piece of functionality you’re interested
in, you understand exactly how it works, that’s the first, most
difficult step on the road to making a fix, or contributing a
feature already done for you.”

“Coding for clarity is important when you sit in a cubicle,
because the guy down in the next office will have to maintain
whatever you’ve just written, and any extra time he takes because
of your ugly code costs your employer money. However, coding for
clarity is even more important in an Open Source project, because
the big advantage of Open Source is the number of eyeballs you are
going to have looking at your code, and given the huge density of
Open Source projects out there, if those eyeballs can’t see what
you’re doing, then there’s a good chance they’ll not bother looking
any more.”

“The more readable your code, the better chance that a complete
stranger will mail you a patch, rather than a bug-report. The
better designed your code, the more chance that a complete stranger
will be willing to add a feature.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.