From 19656416f1c87460714fed266af7b2a5d42427a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20G=C3=B3mez?= Date: Sun, 31 Mar 2013 16:11:07 -0430 Subject: [PATCH] Unix philosophy added. --- README.es.md | 24 ++++++++++++++++++++++++ README.md | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/README.es.md b/README.es.md index 0f10edb..9e407ef 100644 --- a/README.es.md +++ b/README.es.md @@ -214,3 +214,27 @@ So what does the architecture of your application scream? When you look at the t Architectures should not be supplied by frameworks. Frameworks are tools to be used, not architectures to be conformed to. If your architecture is based on frameworks, then it cannot be based on your use cases. Source: Uncle Bob Martin "Screaming Architecture" http://blog.8thlight.com/uncle-bob/2011/09/30/Screaming-Architecture.html + +##Unix Philosophy + +"This is the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface" - Doug McIlroy, quoted in A Quarter Century of Unix [Salus]. Addison-Wesley. 1994. ISBN 0-201-54777-5. + +* Rule of Modularity: Write simple parts connected by clean interfaces. +* Rule of Clarity: Clarity is better than cleverness. +* Rule of Composition: Design programs to be connected to other programs. +* Rule of 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 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 knowledge 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: 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. + +Source: Eric S. Raymond "The Art of Unix Programming" http://www.catb.org/esr/writings/taoup/html/ch01s06.html \ No newline at end of file diff --git a/README.md b/README.md index ab3636c..4e4adeb 100644 --- a/README.md +++ b/README.md @@ -214,3 +214,27 @@ So what does the architecture of your application scream? When you look at the t Architectures should not be supplied by frameworks. Frameworks are tools to be used, not architectures to be conformed to. If your architecture is based on frameworks, then it cannot be based on your use cases. Source: Uncle Bob Martin "Screaming Architecture" http://blog.8thlight.com/uncle-bob/2011/09/30/Screaming-Architecture.html + +##Unix Philosophy + +"This is the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface" - Doug McIlroy, quoted in A Quarter Century of Unix [Salus]. Addison-Wesley. 1994. ISBN 0-201-54777-5. + +* Rule of Modularity: Write simple parts connected by clean interfaces. +* Rule of Clarity: Clarity is better than cleverness. +* Rule of Composition: Design programs to be connected to other programs. +* Rule of 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 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 knowledge 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: 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. + +Source: Eric S. Raymond "The Art of Unix Programming" http://www.catb.org/esr/writings/taoup/html/ch01s06.html \ No newline at end of file