C++ Programming Style 在線電子書 圖書標籤: C++ 軟件開發 計算機 編程 程序設計 c++ Programming IT
發表於2024-11-27
C++ Programming Style 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2024
C++ supports programming-in-the-large, allowing relationships between different parts of a program to be expressed. The scope of C++ programming style therefore goes beyond traditional in-the-small issues which relate to the details of line-by-line coding. This book examines the use of the in-the-large language features of C++, which sometimes confuse even experienced programmers. The author demonstrates that unwarranted use of the more powerful language features may lead to cluttered programs which are harder to comprehend and sometimes less efficient than more straightforward alternatives. Cargill rewrites several programs, using techniques that range from improving consistency to removing redundant inheritance. The presentation simulates a code review, in which readers may independently evaluate and criticize alternative approaches to programming problems, and then compare their analyses with those of the author. Design and coding style rules are distilled from the examples. Understanding and following these rules will help professional programmers design and write better C++ programs.A chapter is devoted to each of the following topics: *abstractions *operator overloading *consistency *wrappers *unnecessary inheritance *efficiency *virtual functions Building on the programming rules introduced in the first seven chapters, Cargill presents a case study in which a single program undergoes repeated transformations that improve its overall quality while reducing its size. The book concludes with a chapter on multiple inheritance. 0201563657B04062001
如果是1990年看这本书,C++刚问世不久,这本书可以指导C语言程序员转向面向对象领域。但时至今日,C++20都快问世了,再读本书未免有点过时。 简单举例,const 的风格没怎么涉及,引用的方式没涉及,STL完全没涉及。 另一方面,这个小册子并没有系统性,像是博客文章的集合。没...
評分如果是1990年看这本书,C++刚问世不久,这本书可以指导C语言程序员转向面向对象领域。但时至今日,C++20都快问世了,再读本书未免有点过时。 简单举例,const 的风格没怎么涉及,引用的方式没涉及,STL完全没涉及。 另一方面,这个小册子并没有系统性,像是博客文章的集合。没...
評分一本单薄的好书,总共就10章。第10章是个摘要,其实主要的就是前9章分别讨论了9个话题。这本书适合谁看?适合有编码经验的初级c++程序员,比如我。日常写了很多c++业务代码,对c++语法有所了解。但是时常会困惑,一个类怎么设计才好?什么是一个好的抽象?怎么分析一段代码的性...
評分一本单薄的好书,总共就10章。第10章是个摘要,其实主要的就是前9章分别讨论了9个话题。这本书适合谁看?适合有编码经验的初级c++程序员,比如我。日常写了很多c++业务代码,对c++语法有所了解。但是时常会困惑,一个类怎么设计才好?什么是一个好的抽象?怎么分析一段代码的性...
評分这书看着简单,等自己一边翻书,一边开足脑力想,再去对着电脑敲,两天下来我头就大了。同事看我的痛苦样子,说他看猎豹网校上有这个视频课程,象看土豆视频那样,还高清的咧,看老师一边讲一边每一步都操作得清清楚楚,一下子就能学会了。我也去看了下,是哦,这样学可容易多...
C++ Programming Style 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2024