70 likes | 358 Views
K.I.S.S. Keep It Simple, Stupid!. The Unix Philosophy in One Lesson*. (*). Basics of Unix Philosophy*. Modularity: Write simple parts connected by clean interfaces Clarity: Clarity is better than cleverness Composition: Design programs to be connected with other programs
E N D
K.I.S.S.Keep It Simple, Stupid! The Unix Philosophy in One Lesson* (*)
Basics of Unix Philosophy* • Modularity: Write simple parts connected by clean interfaces • Clarity: Clarity is better than cleverness • Composition: Design programs to be connected with other programs • Simplicity: Design for simplicity; add complexity only when you must • Transparency: Design for visibility to make inspection and debugging easier • Robustness: Robustness is the child of simplicity and transparency • Failure: When you must fail, fail noisily and ASAP • Generation: Avoid hand-hacking; write programs to write programs when you can • Diversity: Distrust all claims for “one true way” • Extensibility: Design for the future, because it will be here sooner than you think (*) Raymond, E.S., 2004: The Art of Unix Programming, …
Goal: Map-Making of Northern Greenland and Nares Strait • Introduction to Unix for MSc students at Imperial College, London, UK http://www.doc.ic.ac.uk/~wjk/ • Lets write a small program to download and process bottom topography from Nares Strait for further processing, map-making, and general use, e.g. http://www.ngdc.noaa.gov/mgg/bathymetry/arctic/