Comments
bruce.armstrong wrote: Somebody just said it better than I did, and with more chops to say it: Open Letter to Mark Zuckerberg, Sheryl Sandberg & Facebook Mobile
Cloud Expo on Google News

SYS-CON.TV
Cloud Expo & Virtualization 2009 East
PLATINUM SPONSORS:
IBM
Smarter Business Solutions Through Dynamic Infrastructure
IBM
Smarter Insights: How the CIO Becomes a Hero Again
Microsoft
Windows Azure
GOLD SPONSORS:
Appsense
Why VDI?
CA
Maximizing the Business Value of Virtualization in Enterprise and Cloud Computing Environments
ExactTarget
Messaging in the Cloud - Email, SMS and Voice
Freedom OSS
Stairway to the Cloud
Sun
Sun's Incubation Platform: Helping Startups Serve the Enterprise
POWER PANELS:
Cloud Computing & Enterprise IT: Cost & Operational Benefits
How and Why is a Flexible IT Infrastructure the Key To the Future?
Click For 2008 West
Event Webcasts
The Art of UNIX Programming
The history, culture, and philosophy behind UNIX development

"Those who do not understand UNIX are doomed to reinvent it, poorly."

– Henry Spencer, Usenet signature, November 1987

So begins the first chapter of Eric Raymond's newest book, The Art of UNIX Programming. In the pages that follow Eric does his best to make sure readers do understand UNIX by bringing them along on a journey beginning in the earliest days of "timesharing" systems in the 1960s and continuing right up to today. Along the way, readers meet (via their review comments inserted into the book) such UNIX luminaries as Ken Thompson (original inventor of UNIX while at AT&T Bell Labs), David Korn (who wrote the Korn shell), Brian Kernighan (Author of the classic book The C Programming Language), and a number of others. The Art of UNIX Programming is a seminal work from one of the masters in the field.

Eric strives to achieve two equally important goals with this book. First, he attempts to teach the reader the "art" of developing applications using UNIX. To accomplish this he provides a great number of examples, design patterns, case studies, and "rules of thumb" that the reader can use to understand what essentially is a series of best practices for application development and architecture using UNIX.

Second, and potentially more valuable, Eric does his best to instill in the reader an understanding of the culture and history of UNIX and of the "Hacker Culture" that grew up around it. He provides quotes and anecdotes from many of the pioneers behind UNIX, a chapter dedicated directly to UNIX philosophy and culture, and a series of parables, or koans, in the form of lessons from a Zen Master Foo to an aspiring student.

Some of the design "rules" that Eric provides are:

  • Rule of Clarity: Clarity is better than cleverness
  • Rule of Modularity: Write simple parts connected by clean interfaces
  • Rule of Composition: Design programs to be connected with other programs

    While simple ideas, taken together they will teach developers to program in a way that will allow them to become most successful using UNIX. These ideas will also make UNIX administrators more effective by helping them understand why the programs they use work the way they do.

    But why does the world need a book that outlines and teaches the history, culture, and philosophy behind UNIX development? To begin with, we need it because many of the original UNIX pioneers are getting to the point of retiring now. Much of the lore behind the early development of UNIX and how it came to be is an oral (and Usenet-based) history; if no one writes it down in a single place, much of it will simply be lost.

    Also, with the explosion of Linux, there are now many more developers using UNIX than there ever were before. It's important to the community in existence now that we pass these stories and the culture and values we've created to this new generation.

    It also takes developers a long time to learn all this if they have to learn it on their own. I spent close to five years as a C/UNIX developer and can tell you having this book would've helped me understand how to become more effective much faster.

    But even more important is understanding this culture and its impact on the history (and future) of Linux. As Linux becomes more and more popular and its worldwide economic impact grows, the pressures on it to become controlled and directed by major corporations will grow as well. The only thing that will ensure its independence, and potentially its survival, will be the community around it. The culture and philosophy outlined in this book can help tie the community together and strengthen it.

    After all, what is a community except a group of individuals united by a common purpose and sharing a common culture, philosophy, and values?

  • About Kevin Bedell
    Kevin Bedell, one of the founding editors of Linux.SYS-CON.com, writes and speaks frequently on Linux and open source. He is the director of consulting and training for Black Duck Software.

    In order to post a comment you need to be registered and logged in.

    Register | Sign-in

    Reader Feedback: Page 1 of 1

    I think the preference to code it yourself vs. uunderstand and use other's code is pretty widespread. I have have been an applications programmer for years and I have to admit that many times I have found it easier (and faster) to arrive at a solution to a problem by writing my own routines rather than step through someone elses work. Also, psychologically, I think programmers get more satisfaction coming up with their own solutions. I think programmers tend to be strong individualists who get their sense of self-worth from actively creating things. There is less glory in spending a lot of time trying to make sense of someone elses work. Programmers love to code. There is also an egotistical element at work which tends to trivialize others work or voice doubts as to its effciency or correctness. "I can do better than that..." is the mentality. This is a positive attitude when it leads to real improvements, but in many cases is probably just "vanity".


    Your Feedback
    Rick Burque wrote: I think the preference to code it yourself vs. uunderstand and use other's code is pretty widespread. I have have been an applications programmer for years and I have to admit that many times I have found it easier (and faster) to arrive at a solution to a problem by writing my own routines rather than step through someone elses work. Also, psychologically, I think programmers get more satisfaction coming up with their own solutions. I think programmers tend to be strong individualists who get their sense of self-worth from actively creating things. There is less glory in spending a lot of time trying to make sense of someone elses work. Programmers love to code. There is also an egotistical element at work which tends to trivialize others work or voice doubts as to its effciency or correctness. "I can do better than that..." is the mentality. This is a positive attitude when it lead...
    Latest Cloud Developer Stories
    HP said Wednesday that it would lay off 8% of workforce, 27,000 people, by October or 2014. It figures the move will save it $3 billion-$3.5 billion and expects to re- invest the money in cloud, security and Big Data.
    With Cloud Expo 2012 New York (10th Cloud Expo) now under three weeks away, what better time to introduce you in greater detail to the distinguished individuals in our incredible Speaker Faculty for the technical and strategy sessions at the conference... We have technical and...
    What do the CTOs of the CIA and the U.S. Dept. of Justice and the CIO of the National Reconnaissance Office have in common with the CEOs of Eucalyptus, GoGrid, ActiveState, Appcara, OpSource and Nortonworks, the CTOs of Rackspace, SoftLayer, SOA Software and AppZero, the Founder ...
    Grid Dynamics, an eCommerce technology solutions company, and GridGain Systems, makers of an open source in-memory platform for Big Data processing, on Wednesday announced the expansion of their partnership which began in 2008. Grid Dynamics provides personalization and big data...
    ServerCentral, Chicago’s leading provider of colocation, cloud, network connectivity, and managed services, announced on Tuesday that its high performance cloud will debut on June 11 at the 10th International Cloud Expo, held June 11-14 at the Javits Center in New York City. “Se...
    Subscribe to the World's Most Powerful Newsletters
    Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
    Click to Add our RSS Feeds to the Service of Your Choice:
    Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
    myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
    Publish Your Article! Please send it to editorial(at)sys-con.com!

    Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

    SYS-CON Featured Whitepapers
    ADS BY GOOGLE

    Breaking Cloud Computing News
    Acceleware® Ltd. ("Acceleware" or the "Company") (TSX VENTURE:AXE), a leading developer of high perf...