Design Rules for Programmers

Eric S. Raymond, summarizes the basic philosophy of Unix software design:

  • 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.
I am not altogether on anybody’s side, because nobody is altogether only side…[But] there are some things, of course, whose side I am altogether not on.
Treebeard, The Lord of the Rings
Men have become the tools of their tools.
Henry David Thoreau

Happy New Year!

A new year, and a new series…

I’ll be kicking off my posts on this blog with a series on the Mac desktop, PC desktop, cloud, and iPhone applications that I use to build out my software development toolbench.  I’ll kick things off here in a few days.

You have to find something that you love enough to be able to take risks, jump over the hurdles and break through the brick walls that are always going to be placed in front of you. If you don’t have that kind of feeling for what it is you are doing, you’ll stop at the first giant hurdle.
George Lucas (via minimalmac)
(Reblogged from minimalmac)
To be “nobody-but-yourself” — in a world which is doing it’s best, night and day, to make you everybody else — means to fight the hardest battle which any human being can fight; and never stop fighting.
E. E. Cummings

Nothing like finishing a project…

Hello World

Hellooooo The Internets!