UNIX程序设计艺术

出版社:中国电力出版社
出版日期:2004-5
ISBN:9787508322070
作者:雷蒙德
页数:507页

书籍目录

PrefaceI. CONTEXT.  1. Philosophy.     Culture? What culture?    The durability of Unix.    The case against learning Unix culture.    What Unix gets wrong.    What Unix gets right.    Basics of the Unix philosophy.    The Unix philosophy in one lesson.     Applying the Unix philosophy.    Attitude matters too. 2. History.     Origins and history of Unix, 1969-1995.    Origins and history of the hackers, 1961-1995.    The open-source movement: 1998 and onward.    The lessons of Unix history. 3. Contrasts.     The elements of operating-system style.    Operating-system comparisons.    What goes around, comes around.II. DESIGN.  4. Modularity.     Encapsulation and optimal module size.    Compactness and orthogonality.    Libraries.    Unix and object-oriented languages.    Coding for modularity. 5. Textuality.     The Importance of Being Textual.    Data file metaformats.    Application protocol design.    Application protocol metaformats. 6. Transparency.     Some case studies.    Designing for transparency and discoverability.    Designing for maintainability. 7. Multiprogramming.     Separating complexity control from performance tuning.    Taxonomy of Unix IPC methods.    Problems and methods to avoid.    Process partitioning at the design level. 8. Minilanguages.  9. Transformation.  10. Configuration.  11. Interfaces.  12. Optimization.  13. Complexity. III. IMPLEMENTATION.  14. Languages.  15. Tools.  16. Re-Use. IV. COMMUNITY.  17. Portability. 18. Documentation.  19. Open Source.  20. Futures. A. Glossary of Abbreviations. B. References. C. Contributors.

作者简介

编写更好的软件:30年UNIX开发经验的结晶!
本书是作者封笔30年后历时5年创作而成,是一部难得的软件工程方面的佳作。作者首次将哲学、设计模式、工具、文化和传统结合在一起,使得UNIX成为世界上最好且最创新意义的软件,并展示了如何将其拓展到Linux和当今的开源(open-source)运动中。通过取自最主要的开源项目中的示例,作者向UNIX和Linux编程人员展示了如何更巧妙地创建软件,使其更雅致、更灵巧、更具可重用性且具有更长的生命期。
Raymond借鉴了以下13位UNIX先锋人物的观点:
Ken Thompson,UNIX的发明者
Ken Arnold,4BSD UNIX的创建者之一,也是《The Java Programming Language》的作者之一。
Steven M.Bellovin,Usenet的创始人之一,也是《Firewalls and Internel Security》的作者之一。
Stuart Feldman,贝尔实验室UNIX开发组成员,也是《make》和《f77》的作者。
Jim gettys和Keith Packard,X视窗系统的主创人员。
Steve Johnson,《yacc》和《Portable C Compiler》两书的作者。
Brian Kernighan《The C Programming Language》、《The UNIX Programming Environment》及《The Practice of Programming》等几本书的作者之一,也是awk编程语言的作者之一。
David Korn,korn shell的创始人,也是《The New Korn Shell Command and Programming Language》的作者。
Mike Lesk,贝尔实验室开发组成员,ms宏包、tbl和refer工具以及lex与UUCP的作者
Doug Mcllroy,贝尔实验室研究组主任,UNIX即诞生于此;同时他还是UNIX管道的发明者。
Marshall Kirk McKusick,4.2BSD快速文件系统的开发者,4.3BSD和4.4BSD开发组的领导。
Henry Spencer,早期UNIX开发者中的佼佼者,他创建了getopt、第一个开源字符串库以及用于4.4BSD的正则表达式引擎。
“Reading this book has filled a gap in my education. I feel a sense of completion, understand that UNIX is really a style of community. Now I get it, at least I get it one level deeper than I ever did before. This book came at a perfect moment for me, a moment when I shifted from visualizing programs as things to programs as the shadows cast by communities. From this perspective, Eric makes UNIX make perfect sense。”





作者简介:
Eric S.Raymond多年前即从事NUIX开发。他以开源社区巡回大使的身份而著称。他在著名的《The Cathedral and the Bazaar》、《大教堂和市集》中发表了开源运动的宣言,并且还编著了《The New Hacker's Dictionary》一书。

图书封面


 UNIX程序设计艺术下载 精选章节试读 更多精彩书评



发布书评

 
 


精彩书评 (总计4条)

  •     内容很全面,如果你对unix一点都不懂,还是不要看了,如果你已经是hacker级别的也不要看了,如果你用过unix想再深一步领会unix的精髓一定要看,方方面面都讲到了,很有收获,不过要多读读才能领会。
  •     买这本书主要冲两点,第一是封面上的Software Development Productivity Award标志,第二是作者Eric Raymond,Raymond是开源运动的发起者之一,他的经典文章“大教堂和市集”广为流传。由于没有急用而且是英文,书买来后看了目录就收到书架上。最近又有项目要用linux平台,于是把这本书拿出来翻了翻,有一种茅塞顿开的感觉。我一直对Unix系统怀着一种神秘的景仰,感觉Unix有很多不同于windows的风格,这些风格是我不太了解的,Raymond在这本书里把这些风格和习惯提升到文化和艺术的境界并做了系统的阐述,解答了我心中的许多问题。比如说Unix下有专门的一类过滤程序,它们读入数据、对其进行简单的变换、然后将其结果写到输出,是Unix平台下非常有用的一类工具,它们是怎么来的?Raymond在书中指出了Rule of Composition的设计原则: Design programs to be connected with other programs。Unix tradition strongly encourages writing programs that read and write simple, textual, stream-oriented, device-independent formats. Under classic Unix, as many programs as possible are written as simple filters, which take a simple text stream on input and process it into another simple text stream on output.Despite popular mythology, this practice is favored not because Unix programmers hate graphical user interfaces. It's because if you don't write programs that accept and emit simple text streams, it's much more difficult to hook the programs together.知道了Unix的这个传统,你就会知道这类程序的设计思想,应该就会很容易写出类似工具或者充分利用此类工具。书中还提到的一些设计原则并非专属于Unix世界,象界面或接口设计的Rule of least surprise,要注意你的用户,不要给他们太多惊讶;程序设计的Rule of Representation,把知识封装到数据中,让程序逻辑尽量简单且强健。这些应该是所有设计中都应该遵循的原则,仔细阅读本书,相信会对提升程序设计理念有所帮助。本书非常适合从其他平台转入Unix平台的开发人员,遵循Unix世界的传统,应该会节省开发时间,少走一些弯路。书的前言有句格言,大意是:与其说Unix是一个操作系统,不如说Unix是一段口述历史。我觉得这本书更像是一部关于Unix技术传统的口述历史。
  •     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 book, if you got no time read the whole piece, try to remember this :"K.I.S.S" - Keep it simple! Stupid!Contrasting to the so-called design patterns that overwhelmed in the OO development community, the author tries to persuade the fruitful result of simplicity, together with transparency, robustness . . . etc. I was once quite worship for the GoF (even now, I am . . .). After reading the book, it turns out that most of the projects that I had involved before were over-designed, or not efficient enough. It is truth that programming is kind of "art". And of course, it is no way to learn the whole art just by reading. You have to do it, feel it yourself.originally posted at http://idpt0000.mybesthost.com/wordpress/index.php?p=188

精彩短评 (总计4条)

  •     Raymond的大名是久仰了,开源社区的理论家,确实有水平。他的hackerHowto估计很多人都看过了,他让我了解了什么是真正的黑客,也激发了我朝这方面的努力。UNIX/Linux是黑客的操作系统。对于每个在计算机方向有所企图的人来说,玩转这些OS是必要条件。这本书提供了关于UNIX/Linux方方面面的一个总体视角,为进一步探索它们的细节打下良好的基础。
  •     虽然该书比较老,里面提到的有些软件已经跟不上时代,但是它提到的方式方法值得借鉴。适合初学者阅读,有经验者选择某些章节重读
  •     集思广益,丰富多彩,值得重温
  •     这本书不是告诉你如何变成高质量的程序, 而是告诉你, 如何过好这一生
 

外国儿童文学,篆刻,百科,生物科学,科普,初中通用,育儿亲子,美容护肤PDF图书下载,。 零度图书网 

零度图书网 @ 2024