Writing better software: 30 years of UNIX development wisdom In this book, five years in the making, the author encapsulates three decades of unwritten, hard-won software engineering wisdom. Raymond brings together for the first time the philosophy, design patterns, tools, culture, and traditions that make UNIX home to the world's best and most innovative software, and shows ho...
Writing better software: 30 years of UNIX development wisdom In this book, five years in the making, the author encapsulates three decades of unwritten, hard-won software engineering wisdom. Raymond brings together for the first time the philosophy, design patterns, tools, culture, and traditions that make UNIX home to the world's best and most innovative software, and shows how these are carried forward in Linux and today's open-source movement. Using examples from leading open-source projects, he shows UNIX and Linux programmers how to apply this wisdom in building software that's more elegant, more portable, more reusable, and longer-lived.
不要重复自身(Don't Repeat Yourself),意思是说:任何一个知识点在系统内都应当有一个唯一、明确、权威的表述。在本书中,我们更愿意根据Brain Kernighan的建议,把这个远程称为“真理的单点性(Single Point Of Truth)“或者SPOT原则
数据结构也存在类似的SPOT原则:”无垃圾,无混淆(No junk, no confusion)“。”无垃圾“是说数据结构(模型)应该最小化,比如不要让数据结构太通用,居然还能表示不可能存在的情况。”无混淆“是指在真实世界中绝对明确清晰的状态在模型中也应该同样明确清晰。简言之,SPOT原则就是提倡寻找一种数据结构,使得模型中状态跟真实世界系统的状态能够一一对应。 (查看原文)
Addison-Wesley Professional Computing Series(共46册),
这套丛书还有
《Large-Scale C++: Volume I》《BPF Performance Tools》《STL Tutorial and Reference Guide》《UNIX(R) Systems for Modern Architectures》《The Practice of Programming》
等
。
喜欢读"The Art of UNIX Programming"的人也喜欢的电子书
· · · · · ·
作为一个多年的开源(Open Source)拥趸,像《UNIX编程艺术》(The Art of Unix Programming)这样的好书自然不能错过。大约一周前我无意中在公司书柜中发现了它,立刻开始投入阅读。现在,我已经开始边读第二遍边作读书笔记了。 开篇的译序很有趣,第一句话就写道: “...
(展开)
This book reveals the history, art, culture, philosophy, practices, guideline about programming (with) Unix, from the OS itself to the programming languages. It is not doubt that Unix is one of the most influencing OS ever built. Just as mentioned in the...
(展开)
0 有用 Blowfish 2010-01-29 00:29:27
K.I.S.S. 程序员必读,有大量关于设计和实现的精妙言论。
0 有用 lili 2011-04-09 01:13:43
没有点功底还真不行。unix文化大观园。
0 有用 Etcola 2014-07-31 14:24:17
read ch16
0 有用 jiangyy 2012-05-04 14:50:52
其实这并不是一本讲编程的书,叫Unix文化更恰当,唯一不足是不太称得上是艺术,也跟TAOCP太强大有关系。在阅读的过程中自始至终都在与作者产生共鸣,确实是一件很有趣的事情
1 有用 HY 2012-03-26 14:26:10
花了好久的路上时间看完,感触很大