图书标签: C++ 编程 Herb 经典 程序设计 泛型 技术 设计模式
发表于2024-11-25
Exceptional C++ Style pdf epub mobi txt 电子书 下载 2024
Software "style" is about finding the perfect balance between overhead and functionality...elegance and maintainability...flexibility and excess. In Exceptional C++ Style, legendary C++ guru Herb Sutter presents 40 new programming scenarios designed to analyze not only the what but the why and help you find just the right balance in your software. Organized around practical problems and solutions, this book offers new insight into crucial C++ details and interrelationships, and new strategies for today's key C++ programming techniques--including generic programming, STL, exception safety, and more. You'll find answers to questions like: * What can you learn about library design from the STL itself? * How do you avoid making templated code needlessly non-generic? * Why shouldn't you specialize function templates? What should you do instead? * How does exception safety go beyond try and catch statements? * Should you use exception specifications, or not? * When and how should you "leak" the private parts of a class? * How do you make classes safer for versioning? * What's the real memory cost of using standard containers? * How can using const really optimize your code? * How does writing inline affect performance? * When does code that looks wrong actually compile and run perfectly, and why should you care? * What's wrong with the design of std::string? Exceptional C++ Style will help you design, architect, and code with style--and achieve greater robustness and performance in all your C++ software.
Herb Sutter,ISO C++标准委员会主席,C++ Users Journal杂志特邀编辑和专栏作家。他目前在微软公司领导.NET环境下C++语言扩展的设计工作。除本书外,他还撰写了三本广受赞誉的图书:《C++编程规范》(中、英文版都由人民邮电出版社出版)。Exceptional C++和More Exceptional C++
为什么语言和库有那么多的坑?这就是灵活的代价
评分其中有关异常安全和最后一些基本常识的章节可以略过,总的来说Herb Sutter的书不及 Meyer 的Effective系列写的好
评分类似像这样的书 都需要边看边实践 有些地方实践领悟起来会需要一些时间 千万不可为了求快 不求甚解就这么过去了 = =
评分类似像这样的书 都需要边看边实践 有些地方实践领悟起来会需要一些时间 千万不可为了求快 不求甚解就这么过去了 = =
评分为什么语言和库有那么多的坑?这就是灵活的代价
本书的深度非常高,正如 Herb Sutter所说的: 我期望你已经掌握了C++基础知识,如果你还没有,可以从一本介绍性和概览性的C++好书开始学习。像Bjarne Stroustrup的《The C++ Programming Language》)或Stan Lippman和Josee Lajoie合著的《C++Primer》这样的经典著作都是不错的...
评分最后的这一版 Style 的觉得还行,比起Exceptional C++ 没那么枯燥很多,不过总之看起来好像总是没那么有激情一样,我也还是觉得中规中矩~~~~ 看一遍还是值得的。如果要深入里面的某些东西,可以有更加好的专著,而且从这本书里面也得不到太多的东西了,所以最好的就是把书看完...
评分最后的这一版 Style 的觉得还行,比起Exceptional C++ 没那么枯燥很多,不过总之看起来好像总是没那么有激情一样,我也还是觉得中规中矩~~~~ 看一遍还是值得的。如果要深入里面的某些东西,可以有更加好的专著,而且从这本书里面也得不到太多的东西了,所以最好的就是把书看完...
评分本书的深度非常高,正如 Herb Sutter所说的: 我期望你已经掌握了C++基础知识,如果你还没有,可以从一本介绍性和概览性的C++好书开始学习。像Bjarne Stroustrup的《The C++ Programming Language》)或Stan Lippman和Josee Lajoie合著的《C++Primer》这样的经典著作都是不错的...
Exceptional C++ Style pdf epub mobi txt 电子书 下载 2024