Basic of the Unix Philosophy

原创 2004年10月31日 20:45:00
Rule of Modularity: Write simple parts connected by clean interface

Rule of Clarity: Clarity is better than cleverness

Rule of Composition: Design programs to be connected with other programs.

Rule of the Separation: Separate policy from mechanism; separate interfaces from engines.

Rule of Simplicity: Design for simplicity; add complexity only where you must.

Rule of Parsimony: Write a big program only when it is clear by demonstration that nothing else will do.

Rule of the transparency: Design for visibility to make inspection and debugging easier.

Rule of Robustness: Robustness is the child of transparency and simplicity.

Rule of Representation: Fold knoweledge into data, so program logic can be stupid and robust.

Rule of Least Surprise: In interface design, always do the least surprising thing.

Rule of Silence: When a program has nothing surprising to say, it should say nothing.

Rule of Repair: Repair what you can--but when you must fail, fail noisily and as soon as possible.

Rule of Economy: Programmer time is expensive; conserve it in preference to machine time.

Rule of Generation: Avoid hand-hacking; write programs to write programs when you can.

Rule of Optimization: Prototype before polishing. Get it working before you optimize it.

Rule of Diversity: Distrust all claims for "one true way".

Rule of Extensibility: Design for the future, because it will be here sooner than you think.

All these rules are from the book: The art of UNIX Programming, written by Eric S. Raymond.

Linux and the Unix Philosophy Summary

读完Linux and the Unix Philosophy 后自己写的一个小 Summary 1,小即是美 2.让每一个程序只做好一件事 3.尽快建立原型 》 适当工程方法 ...
  • ahlxt123
  • ahlxt123
  • 2015年11月16日 19:31
  • 431

UNIX Philosophy

UXIX Philosophy: SimplicityFocusReusable ComponentsFiltersOpen File FormatsFlexibility
  • Supra_CN
  • Supra_CN
  • 2013年08月07日 10:47
  • 156

The UNIX Philosophy

The Unix Philosophy Author: David CalvertThe UNIX PhilosophyFrom The UNIX Philosophy by Mike Gancarz...
  • qbhua
  • qbhua
  • 2006年10月08日 08:29
  • 841

the UNIX Philosophy

The UNIX Philosophy: Main Principles Small is beautiful. Small things could be combined with other s...
  • biggeorge
  • biggeorge
  • 2004年09月13日 13:41
  • 304

The Unix Philosophy

The Unix Philosophy Author: David CalvertThe UNIX PhilosophyFrom The UNIX Philosophy by Mike Gancarz...
  • Tunix126
  • Tunix126
  • 2006年10月08日 09:03
  • 815

Unix Philosophy

Unix哲学。K.I.S.S. (Keep It Simple, Stupid!)
  • zoomdy
  • zoomdy
  • 2016年02月05日 15:43
  • 205

Linux and the Unix Philosophy

  • zoomdy
  • zoomdy
  • 2016年02月05日 16:16
  • 281

Unix scripting 2 - philosophy

Shell script programming has a bit of a bad press amongst some Unix systemsadministrators. This is n...
  • colddie
  • colddie
  • 2012年02月01日 11:46
  • 294

书籍推荐:《Linux and the Unix Philosophy》

总有这样的一本书,让你读后有相见恨晚的感觉,对我来说,《Linux and the Unix Philosophy》就是这样的一本书。在看书的过程中,总有捡到宝藏的感觉,这里是金光闪闪的黄金,那里又有...
  • ssszzzjjj
  • ssszzzjjj
  • 2012年08月12日 22:35
  • 718

UNIX philosophy(ZT)

UNIX philosophy ---- from TAOUP Eric S. Raymond1, Rule of Modularity:Write simple parts connected by...
  • wishfly
  • wishfly
  • 2005年12月28日 16:13
  • 776
您举报文章:Basic of the Unix Philosophy