the unix philosophy: main principles
small is beautiful. small things could be combined with other small things to create unique and flexible systems. downside: people could have troubles interfacing with small things. 【相关文章:windows 2000是怎样引导的】 【扩展阅读:磨刀霍霍向STL::distance】make each program do one thing well. focusing on a single functionality can eliminate much of unnnecessary code and promote flexibility. 【扩展信息:Default Password Lis】 build a prototype as soon as possible. it allows generation of efficient design. portability is more important than efficiency. portable programs have larger customer base and longer lifecycle. store data in flat ascii files. it keeps the data portable, data which is not portable is dead. use software leverage to your advantage. good programmers write good code, great programmers borrow good code. shell scripts have an advantage over compiled programs. they are portable and leverage compiled programs. avoid captive user interfaces. these interfaces need constant user input, thus locking the user or machine from doing anything else. make every program a filter that operates on data. side principles: allow the user to customize the interface. keep the system kernel small and lightweight. use lower case and keep it short. keep data in electronic format - save trees. silence is golden - do not produce unnecessary output. think parallel. sum of parts is greater than the whole. ... 下一页