C++ Coding Standards:Summary of Summaries-编码风格

来源:王朝搜索
 
C++ Coding Standards:Summary of Summaries-编码风格

By Herb Sutter, Andrei Alexandrescu 著 树人 译编码风格 14. 优先使用编译时和链接时错误,而不是运行时错误。 不要把可以在构建时做的事情推迟到运行时来

C++ Coding Standards:Summary of Summaries-组织和方针问题与设计风格

By Herb Sutter, Andrei Alexandrescu 著 树人 译组织和方针问题 0. 不要为小事斤斤计较。(或者说是:知道什么东西不需要标准化) 少说废话,捡有必要的说:

C++ Coding Standards Item 2 : Use an automated build system

C++ Coding Standards Item 2 : Use an automated build system Summary Push the (singular) button: Use

Herb Sutter又有新作《C++ Coding Standards》

参看

C++ Coding Standards:类型安全

By Herb Sutter, Andrei Alexandrescu 著 树人 译类型安全90. 避免使用类型转换,优先使用多态。 关闭转换:避免通过转换一个对象的类型来定制行为。通过模

C++ Coding Standards:序言

By Herb Sutter, Andrei Alexandrescu 著 树人译 序言 及早地墨守成规:用相同的方法处理相同的过程。积累惯用法。标准化。你和莎士比亚之间的唯一差别就是习语表的长度

C++ Coding Standards 目录公开

http://www.gotw.ca/publications/c++cs.htm Table of Contents Preface Organizational and Policy Issu

C++ Coding Standards:STL:容器和算法

By Herb Sutter, Andrei Alexandrescu树人 译STL:容器 76. 默认情况下使用vector。否则,选择一个适当的容器。 使用“正确(合适)的容

C++ Coding Standards:错误处理和异常

By Herb Sutter, Andrei Alexandrescu 著 树人 译错误处理和异常 68. 使用断言(assert)来证明内部假设和不变量。 Be assertive!对一个

C++ Coding Standards:模板和泛型

By Herb Sutter, Andrei Alexandrescu 著 树人译 模板和泛型 64. 明智地混合使用静态和动态多态。 比单纯的部分的总和更多:静态和动态多态是互补的。理解它

 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有