Large-Scale C++ Software Design 在線電子書 圖書標籤: C++ 計算機 programming 軟件工程 軟件開發 C/C++ 程序設計 設計模式
發表於2024-11-22
Large-Scale C++ Software Design 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2024
John Lakos在Mentor Graphics公司工作。該公司編寫的大規模C++程序比大多數其他公司要多,並且是首先嘗試真正的大規模C++項目的公司之一。Lakos從1987年起就一直使用C++進行專業編程,並於1990年在哥哥倫比亞大學開設瞭麵嚮對象編程方麵的研究生課程。
Developing a large-scale software system in C++ requires more than just a sound understanding of the logical design issues covered in most books on C++ programming. To be successful, you will also need a grasp of physical design concepts that, while closely tied to the technical aspects of development, include a dimension with which even expert software developers may have little or no experience. This is the definitive book for all C++ software professionals involved in large development efforts such as databases, operating systems, compilers, and frameworks. It is the first C++ book that actually demonstrates how to design large systems, and one of the few books on object-oriented design specifically geared to practical aspects of the C++ programming language. In this book, Lakos explains the process of decomposing large systems into physical (not inheritance) hierarchies of smaller, more manageable components. Such systems with their acyclic physical dependencies are fundamentally easier and more economical to maintain, test, and reuse than tightly interdependent systems.In addition to explaining the motivation for following good physical as well as logical design practices, Lakos provides you with a catalog of specific techniques designed to eliminate cyclic, compile-time, and link-time (physical) dependencies. He then extends these concepts from large to very large systems. The book concludes with a comprehensive top-down approach to the logical design of individual components. Appendices include a valuable design pattern "Protocol Hierarchy" designed to avoid fat interfaces while minimizing physical dependencies; the details of implementing an ANSI C compatible C++ procedural interface; and a complete specification for a suite of UNIX-like tools to extract and analyze physical dependencies. Practical design rules, guidelines, and principles are also collected in an appendix and indexed for quick reference. 0201633620B04062001
前面四章可以直接跳过,都是在讲一些概念性的东西。本书很推荐使用前置声明来避免物理耦合,减少编译时间。这种方法有利有弊,不过像google ,microsoft这种体量的公司,因为有钱买集群级别的服务器来进行编译,它们都推荐用include,哈哈哈。个人觉得电力出版社这版翻的比较好。
評分最近一直在看这本书,其中的一些方法之前也有用过,现在读来又有了新的收获,今天用了差不多一天的时间把当前的项目代码作了不小的重构,主要是从程序的物理结构方面,分层更明确,实现隐藏更彻底,编译耦合进一步降低,自己感觉还不错哦!
評分 評分 評分2006年的时候,我们开发了一个比较大的系统,开发参与人数有十几个(其实也不错),在但是的机器情况下,有时候只是动了一个头文件,会导致很长的编译时间,在这本书中可以找到答案。 《大规模C++程序设计》这本书是在2006年开发完一个相对较大的系统后读的一本书,当时看完,...
Large-Scale C++ Software Design 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2024