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 ID: 547058
Download Presentation The PPT/PDF document "K.I.S.S." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
K.I.S.S.Keep It Simple, Stupid!
The Unix Philosophy in One Lesson*
(*)Slide2
Basics of Unix Philosophy*Modularity: Write simple parts connected by clean interfaces
Clarity: Clarity is better than clevernessComposition: 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 easierRobustness: Robustness is the child of simplicity and transparencyFailure: 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, …Slide3
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/
Goal: Map-Making of Northern Greenland and Nares Strait