Monday, December 3, 2007

The UNIX Philosophy

It is very impressive that little things have changed in the UNIX philosophy since 1969 when UNIX was first introduced. The UNIX philosophy can be summarized in the following "rules":
  • Each program has to do one thing and do it well.
  • Utilities (programs) must work together.
  • Programs must handle text streams well because text is universal.
  • It is better for a program to be clear than clever.
  • When a program fails, it must fail as soon as possible with error messages. When a program runs well, it is better to say nothing.
  • Design for the future because it will sooner or later come.
  • Preserve programmers' time in favor of machine's time.
Did you find the above information helpful? You will find a lot more information in my eBook "Programming Dashboard Widgets". The eBook describes how you can create Apple Dashboard Widgets using many programming languages including JavaScript, Perl, Objective-C, and PHP. You can buy it here.

No comments: