Pages

Wednesday, September 18, 2013

The Unix Philosophy or The Nine Programming Commandments

Image by Rudolph Schuba via Flickr

















Developers know programming languages become obsolete with time. Say you learn to code in one language today, a few years down the road that language might be extinct or really antiquated. Recently a friend of mine who is a developer told me about the Unix Philosophy.


In a nutshell it's a set of guidelines ensuring whatever language you use today will still be intelligible and of use several years later . My friend said in college his professors were more concerned with teaching him the Unix Philosophy than teaching him where to place the commas, brackets and the like.

If you want to know more about it, go to Wikipedia.

Wikipedia (http://en.wikipedia.org/wiki/Unix_philosophy) says :

The Unix philosophy, originated by Ken Thompson, is a set of cultural norms and philosophical approaches to developing small yet capable software based on the experience of leading developers of the Unix operating system. The Unix philosophy emphasizes building short, simple, clear, modular, and extendable code that can be easily maintained and repurposed by developers other than its creators.
 The UNIX Philosophy which sums it up in 9 paramount precepts:
  1. Small is beautiful.
  2. Make each program do one thing well.
  3. Build a prototype as soon as possible.
  4. Choose portability over efficiency.
  5. Store data in flat text files.
  6. Use software leverage to your advantage.
  7. Use shell scripts to increase leverage and portability.
  8. Avoid captive user interfaces.
  9. Make every program a filter.

No comments:

Post a Comment