Eric Raymond's The Art of Unix Programming

| | Comments (0)

I am not by any means a Unix geek, but I'm reading The Art of Unix Programming, by Eric Raymond. Eric wrote The Cathedral and the Bazaar, which is one of those influential books I always meant to read.

This is a wonderful read, primarily about the design decisions and the philosphy that have made unix such an influential and widespread technology base that has lasted over thirty years. As Eric says:

"... the book doesn't focus so much on 'what' as on 'why', showing the connection between Unix philosophy and practice through case studies in widely available open-source software."

I love the fact that the book is available both on printed paper and online. The online version is free and made available under a Creative Commons license. I started reading it online, but am going to pick up the paper version to finish...hmmm, sounds suspiciously like a succesful business model...

I was struck by this passage, from the section Basics of the Unix Philosophy, expressed 25 years ago (!!) by Doug McIlroy, the inventor of Unix pipes and one of the founders of the Unix tradition:


(i) Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new features.

(ii) Expect the output of every program to become the input to another, as yet unknown, program. Don't clutter output with extraneous information. Avoid stringently columnar or binary input formats. Don't insist on interactive input.

(iii) Design and build software, even operating systems, to be tried early, ideally within weeks. Don't hesitate to throw away the clumsy parts and rebuild them.

(iv) Use tools in preference to unskilled help to lighten a programming task, even if you have to detour to build the tools and expect to throw some of them out after you've finished using them.

Leave a comment

About this Entry

This page contains a single entry by Oren Sreebny published on October 23, 2003 6:34 AM.

Online music stores and p2p file sharing was the previous entry in this blog.

Pet Peeve - Blinking Ads is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

About Me
Powered by Movable Type 4.01