Effective C++:改善程序与设计的55个具体做法

Effective C++:改善程序与设计的55个具体做法
分享
扫描下方二维码分享到微信
打开微信,点击右上角”+“,
使用”扫一扫“即可将网页分享到朋友圈。
作者: [美] ,
2011-06
版次: 3
ISBN: 9787121133763
定价: 65.00
装帧: 平装
开本: 16开
纸张: 胶版纸
页数: 319页
字数: 417千字
原版书名: Effective C++:改善程序与设计的55个具体做法:第3版(评注版)
43人买过
  •   “C++程序员可以分成两类,读过Effective C++的和没读过的。”世界顶级C++大师Scott Meyers 这部成名之作,与这句话一道在全球无数读者间广为传颂。几乎所有C++书籍推荐名单上,Scott Meyers编著,云风译注的《Effective C++:改善程序与设计的55个具体做法(第3版)(评注版)(双色)》都会位列三甲。作者高超的技术把握力、独特的视角﹑诙谐轻松的写作风格﹑独具匠心的内容组织,都受到极大的推崇和仿效。

      对于国外技术图书,选择翻译版还是影印版,常让人陷入两难。本评注版力邀国内资深专家执笔,在英文原著基础上增加中文点评与注释,旨在融合二者之长,既保留经典的原创文字与味道,又以先行者的学研心得与实践感悟,对读者阅读与学习加以点拨、指明捷径。经过评注的版本,更值得反复阅读与体会。希望《Effective C++:改善程序与设计的55个具体做法(第3版)(评注版)(双色)》这本书能够帮助您跨越C++的重重险阻,领略高处才有的壮美风光,做一个成功而快乐的C++程序员。

      经过评注的版本,更值得反复阅读与体会。希望这本《Effective C++:改善程序与设计的55个具体做法(第3版)(评注版)(双色)》能够帮助您跨越C++的重重险阻,领略高处才有的壮美风光,做一个成功而快乐的C++程序员。
     云风,时年二十七岁。自幼学习编程,十数年从未间断,对程序设计有所领悟。大学时代开发的游戏图像引擎“风魂”曾用千多家游戏公司的游戏项目。参与过《大话西游》系列、《梦幻西游》、《网易泡泡游戏》的开发。现从事新一代网络游戏引擎的研究与开发,并在游戏模式卜做一些新的尝试。性格开朗,兴趣广泛,好交友,绝非沉浸在计算机世界中的书呆子。国学、历史书籍常备案头,以先贤之教诲修其心;休息时常作户外运动,尤其喜爱攀岩。 Introduction(新增批注共2条)

    Chapter 1: Accustoming Yourself to C++(新增批注共12条)

    Item 1: View C++ as a federation of languages.

    Item 2: Prefer consts, enums, and inlines to #defines.

    Item 3: Use const whenever possible.

    Item 4: Make sure that objects are initialized before they’re used.

    Chapter 2: Constructors, Destructors, and AssignmentOperators(新增批注共9条)

    Item 5: Know what functions C++ silently writes and calls.

    Item 6: Explicitly disallow the use of compiler-generated functions you do not want.

    Item 7: Declare destructors virtual in polymorphic base classes.

    Item 8: Prevent exceptions from leaving destructors.

    Item 9: Never call virtual functions during construction or destruction.

    Item 10: Have assignment operators return a reference to *this.

    Item 11: Handle assignment to self in operator=.

    Item 12: Copy all parts of an object.

    Chapter 3: Resource Management(新增批注共7条)

    Item 13: Use objects to manage resources.

    Item 14: Think carefully about copying behavior in resource-managing classes.

    Item 15: Provide access to raw resources in resource-managing classes.

    Item 16: Use the same form in corresponding uses of new and delete.

    Item 17: Store newed objects in smart pointers in standalone statements.

    Chapter 4: Designs and Declarations(新增批注共28条)

    Item 18: Make interfaces easy to use correctly and hard to use incorrectly.

    Item 19: Treat class design as type design.

    Item 20: Prefer pass-by-reference-to-const to pass-by-value.

    Item 21: Don’t try to return a reference when you must return an object.

    Item 22: Declare data members private.

    Item 23: Prefer non-member non-friend functions to member functions.

    Item 24: Declare non-member functions when type conversions should apply to all parameters.

    Item 25: Consider support for a non-throwing swap.

    Chapter 5: Implementations(新增批注共42条)

    Item 26: Postpone variable definitions as long as possible.

    Item 27: Minimize casting.

    Item 28: Avoid returning “handles” to object internals.

    Item 29: Strive for exception-safe code.

    Item 30: Understand the ins and outs of inlining.

    Item 31: Minimize compilation dependencies between files.

    Chapter 6: Inheritance and Object-Oriented Design(新增批注共39条)

    Item 32: Make sure public inheritance models “is-a.”

    Item 33: Avoid hiding inherited names.

    Item 34: Differentiate between inheritance of interface and inheritance of implementation.

    Item 35: Consider alternatives to virtual functions.

    Item 36: Never redefine an inherited non-virtual function.

    Item 37: Never redefine a function’s inherited default parameter value.

    Item 38: Model “has-a” or is-implemented-in-terms-of” through composition.

    Item 39: Use private inheritance judiciously.

    Item 40: Use multiple inheritance judiciously.

    Chapter 7: Templates and GenericProgramming(新增批注共28条)

    Item 41: Understand implicit interfaces and compile-time polymorphism.

    Item 42: Understand the two meanings of typename.

    Item 43: Know how to access names in templatized base classes.

    Item 44: Factor parameter-independent code out of templates.

    Item 45: Use member function templates to accept “all compatible types.”

    Item 46: Define non-member functions inside templates when type conversions are desired.

    Item 47: Use traits classes for information about types.

    Item 48: Be aware of template metaprogramming.

    Chapter 8: Customizing new and delete(新增批注共17条)

    Item 49: Understand the behavior of the new-handler.

    Item 50: Understand when it makes sense to replace new and delete.

    Item 51: Adhere to convention when writing new and delete.

    Item 52: Write placement delete if you write placement new.

    Chapter 9: Miscellany(新增批注共8条)

    Item 53: Pay attention to compiler warnings.

    Item 54: Familiarize yourself with the standard library, including TR1.

    Item 55: Familiarize yourself with Boost.

    Appendix A: Beyond Effective C++

    Appendix B: Item Mappings Between Second and Third Editions

    Index
  • 内容简介:
      “C++程序员可以分成两类,读过Effective C++的和没读过的。”世界顶级C++大师Scott Meyers 这部成名之作,与这句话一道在全球无数读者间广为传颂。几乎所有C++书籍推荐名单上,Scott Meyers编著,云风译注的《Effective C++:改善程序与设计的55个具体做法(第3版)(评注版)(双色)》都会位列三甲。作者高超的技术把握力、独特的视角﹑诙谐轻松的写作风格﹑独具匠心的内容组织,都受到极大的推崇和仿效。

      对于国外技术图书,选择翻译版还是影印版,常让人陷入两难。本评注版力邀国内资深专家执笔,在英文原著基础上增加中文点评与注释,旨在融合二者之长,既保留经典的原创文字与味道,又以先行者的学研心得与实践感悟,对读者阅读与学习加以点拨、指明捷径。经过评注的版本,更值得反复阅读与体会。希望《Effective C++:改善程序与设计的55个具体做法(第3版)(评注版)(双色)》这本书能够帮助您跨越C++的重重险阻,领略高处才有的壮美风光,做一个成功而快乐的C++程序员。

      经过评注的版本,更值得反复阅读与体会。希望这本《Effective C++:改善程序与设计的55个具体做法(第3版)(评注版)(双色)》能够帮助您跨越C++的重重险阻,领略高处才有的壮美风光,做一个成功而快乐的C++程序员。
  • 作者简介:
     云风,时年二十七岁。自幼学习编程,十数年从未间断,对程序设计有所领悟。大学时代开发的游戏图像引擎“风魂”曾用千多家游戏公司的游戏项目。参与过《大话西游》系列、《梦幻西游》、《网易泡泡游戏》的开发。现从事新一代网络游戏引擎的研究与开发,并在游戏模式卜做一些新的尝试。性格开朗,兴趣广泛,好交友,绝非沉浸在计算机世界中的书呆子。国学、历史书籍常备案头,以先贤之教诲修其心;休息时常作户外运动,尤其喜爱攀岩。
  • 目录:
    Introduction(新增批注共2条)

    Chapter 1: Accustoming Yourself to C++(新增批注共12条)

    Item 1: View C++ as a federation of languages.

    Item 2: Prefer consts, enums, and inlines to #defines.

    Item 3: Use const whenever possible.

    Item 4: Make sure that objects are initialized before they’re used.

    Chapter 2: Constructors, Destructors, and AssignmentOperators(新增批注共9条)

    Item 5: Know what functions C++ silently writes and calls.

    Item 6: Explicitly disallow the use of compiler-generated functions you do not want.

    Item 7: Declare destructors virtual in polymorphic base classes.

    Item 8: Prevent exceptions from leaving destructors.

    Item 9: Never call virtual functions during construction or destruction.

    Item 10: Have assignment operators return a reference to *this.

    Item 11: Handle assignment to self in operator=.

    Item 12: Copy all parts of an object.

    Chapter 3: Resource Management(新增批注共7条)

    Item 13: Use objects to manage resources.

    Item 14: Think carefully about copying behavior in resource-managing classes.

    Item 15: Provide access to raw resources in resource-managing classes.

    Item 16: Use the same form in corresponding uses of new and delete.

    Item 17: Store newed objects in smart pointers in standalone statements.

    Chapter 4: Designs and Declarations(新增批注共28条)

    Item 18: Make interfaces easy to use correctly and hard to use incorrectly.

    Item 19: Treat class design as type design.

    Item 20: Prefer pass-by-reference-to-const to pass-by-value.

    Item 21: Don’t try to return a reference when you must return an object.

    Item 22: Declare data members private.

    Item 23: Prefer non-member non-friend functions to member functions.

    Item 24: Declare non-member functions when type conversions should apply to all parameters.

    Item 25: Consider support for a non-throwing swap.

    Chapter 5: Implementations(新增批注共42条)

    Item 26: Postpone variable definitions as long as possible.

    Item 27: Minimize casting.

    Item 28: Avoid returning “handles” to object internals.

    Item 29: Strive for exception-safe code.

    Item 30: Understand the ins and outs of inlining.

    Item 31: Minimize compilation dependencies between files.

    Chapter 6: Inheritance and Object-Oriented Design(新增批注共39条)

    Item 32: Make sure public inheritance models “is-a.”

    Item 33: Avoid hiding inherited names.

    Item 34: Differentiate between inheritance of interface and inheritance of implementation.

    Item 35: Consider alternatives to virtual functions.

    Item 36: Never redefine an inherited non-virtual function.

    Item 37: Never redefine a function’s inherited default parameter value.

    Item 38: Model “has-a” or is-implemented-in-terms-of” through composition.

    Item 39: Use private inheritance judiciously.

    Item 40: Use multiple inheritance judiciously.

    Chapter 7: Templates and GenericProgramming(新增批注共28条)

    Item 41: Understand implicit interfaces and compile-time polymorphism.

    Item 42: Understand the two meanings of typename.

    Item 43: Know how to access names in templatized base classes.

    Item 44: Factor parameter-independent code out of templates.

    Item 45: Use member function templates to accept “all compatible types.”

    Item 46: Define non-member functions inside templates when type conversions are desired.

    Item 47: Use traits classes for information about types.

    Item 48: Be aware of template metaprogramming.

    Chapter 8: Customizing new and delete(新增批注共17条)

    Item 49: Understand the behavior of the new-handler.

    Item 50: Understand when it makes sense to replace new and delete.

    Item 51: Adhere to convention when writing new and delete.

    Item 52: Write placement delete if you write placement new.

    Chapter 9: Miscellany(新增批注共8条)

    Item 53: Pay attention to compiler warnings.

    Item 54: Familiarize yourself with the standard library, including TR1.

    Item 55: Familiarize yourself with Boost.

    Appendix A: Beyond Effective C++

    Appendix B: Item Mappings Between Second and Third Editions

    Index
查看详情
系列丛书 / 更多
Effective C++:改善程序与设计的55个具体做法
程序员修炼之道:从小工到专家
[美]亨特(Andrew Hunt)、[美]托马斯(Daid Thomas) 著;马维达 译
Effective C++:改善程序与设计的55个具体做法
Essential C++中文版
[美]Stanley B.Lippman 著;侯捷 译
Effective C++:改善程序与设计的55个具体做法
More Effective C++(中文版):35个改善编程与设计的有效方法
[美]Scott Meyers 著;侯捷 译
Effective C++:改善程序与设计的55个具体做法
Effective C++ 改善程序与设计的55个具体做法(第3版)
[美]梅耶(Scott Meyers) 著;侯捷 译
Effective C++:改善程序与设计的55个具体做法
UNIX编程艺术
[美]Eric S.Raymond 著;姜宏、何源、蔡晓骏 译
Effective C++:改善程序与设计的55个具体做法
传世经典书丛·Effective STL中文版:50条有效使用STL的经验(双色)
[美]Scott Meyers 著;潘爱民、陈铭、邹开红 译
Effective C++:改善程序与设计的55个具体做法
More Exceptional C++(中文版)
[美]舒特(Sutter H.) 著;於春景 译
Effective C++:改善程序与设计的55个具体做法
提高C++性能的编程技术
[美]布尔卡、梅休 著;左飞 译
Effective C++:改善程序与设计的55个具体做法
程序员修炼之道:从小工到专家
安德鲁·亨特(Andrew Hunt)、大卫·托马斯(David Thomas) 著;周爱民 译
Effective C++:改善程序与设计的55个具体做法
Java编程思想(第4版)(评注版)
[美]Bruce Eckel 著
Effective C++:改善程序与设计的55个具体做法
重构:改善既有代码的设计
[美]Martin Fowler 著
Effective C++:改善程序与设计的55个具体做法
编程匠艺:编写卓越的代码
Pete Goodliffe 著;韩江、陈玉 译
相关图书 / 更多
Effective C++:改善程序与设计的55个具体做法
EffectiveTeamwork:PracticalLessonsfromOrganizationalResearch
Michael A. West 著
Effective C++:改善程序与设计的55个具体做法
Effective数据科学基础设施
[芬兰]维莱·图洛斯(Ville Tuulos)著 郭涛 译
Effective C++:改善程序与设计的55个具体做法
Effective TypeScript:精进TypeScript代码的62个实践方法
[美]丹·范德卡姆(Dan Vanderkam);王瑞鹏;董强
Effective C++:改善程序与设计的55个具体做法
EffectiveLeadershipinAdventureProgramming
Simon Priest 著
Effective C++:改善程序与设计的55个具体做法
Effective软件测试
[荷兰]毛里西奥·阿尼什(Maurício Aniche)著 朱少民 李洁 张元 译
Effective C++:改善程序与设计的55个具体做法
Effective Python:编写高质量Python代码的90个有效方法(原书第2版)
[美]布雷特·斯拉特金(Brett Slatkin)
Effective C++:改善程序与设计的55个具体做法
Effective C中文版
[美]罗伯特·C. 西科德(Robert C. Seacord)
Effective C++:改善程序与设计的55个具体做法
Effective Python:改善Python程序的90个建议 (第2版)(英文版)
[美]Brett Slatkin(布雷特·斯莱特金)
Effective C++:改善程序与设计的55个具体做法
EffectiveSupervision:SupportingtheArtandScienceofTeaching
Robert J. Marzano 著
Effective C++:改善程序与设计的55个具体做法
EffectiveHelpingInterviewingandCounselingT
Barbara F. Okun、Ricki E. Kantrowitz 著
Effective C++:改善程序与设计的55个具体做法
Effective Cybersecurity 中文版
[美]威廉·斯托林斯(William Stallings)
Effective C++:改善程序与设计的55个具体做法
EffectiveWritinginPsychology
Bernard C. Beins、Agatha M. Beins 著
您可能感兴趣 / 更多
Effective C++:改善程序与设计的55个具体做法
孩子,把你的手给我1:怎么说孩子才爱听,怎么教孩子才肯学?帮助每一位3-12岁孩子的父母结束与孩子的所有冲突!
[美]海姆·G.吉诺特
Effective C++:改善程序与设计的55个具体做法
怎样做成大事
[美]丹·加德纳(Dan Gardner) 著;贾拥民 译;湛庐文化 出品;[丹麦]傅以斌(Bent Flyvbjerg)
Effective C++:改善程序与设计的55个具体做法
1200年希腊罗马神话
[美]伊迪丝·汉密尔顿
Effective C++:改善程序与设计的55个具体做法
爱情心理学(新编本)
[美]罗伯特·J. 斯腾伯格 (美)凯琳·斯腾伯格 倪爱萍 译
Effective C++:改善程序与设计的55个具体做法
黄金圈法则
[美]西蒙·斯涅克 著;磨铁文化 出品
Effective C++:改善程序与设计的55个具体做法
汤姆·索亚历险记 彩图注音版 一二三四年级5-6-7-8-9岁小学生课外阅读经典 儿童文学无障碍有声伴读世界名著童话故事
[美]马克 吐温
Effective C++:改善程序与设计的55个具体做法
富兰克林自传 名家全译本 改变无数人命运的励志传奇 埃隆马斯克反复推荐 赠富兰克林签名照及精美插图
[美]本杰明·富兰克林 著;李自修 译
Effective C++:改善程序与设计的55个具体做法
意大利文艺复兴新艺术史
[美]迈克尔·韦恩·科尔 著;[美]斯蒂芬·J·坎贝尔;邵亦杨
Effective C++:改善程序与设计的55个具体做法
汤姆素亚历险记:中小学生课外阅读快乐读书吧 儿童文学无障碍有声伴读世界名著童话故事
[美]马克·吐温
Effective C++:改善程序与设计的55个具体做法
老人与海 彩图注音版 一二三四年级5-6-7-8-9岁小学生课外阅读经典 儿童文学无障碍有声伴读世界名著童话故事
[美]海明威
Effective C++:改善程序与设计的55个具体做法
养育的觉醒:全面激发孩子自驱力,教你如何心平气和做妈妈
[美]凯文·莱曼 著;唐晓璐 译;斯坦威 出品
Effective C++:改善程序与设计的55个具体做法
国际大奖图画书系列 共11册(小老鼠的恐惧的大书,大灰狼,红豆与菲比,别烦我,下雪了 ,穿靴子的猫 ,先有蛋,绿 ,特别快递,如果你想看鲸鱼 ,一个部落的孩子 ) 麦克米伦世纪
[美]莱恩·史密斯 (英)埃米莉·格雷维特 (美)劳拉·瓦卡罗·等/文 (英)埃米莉·格雷维特 等/图 彭懿 杨玲玲 阿甲 孙慧阳 白薇 译