01.
Herb Sutter又有新作《C++ Coding Standards》参看...查看完整版>>
Herb Sutter又有新作《C++ Coding Standards》
02.
Herb Sutter 又要出新书--《Exceptional C++ Style》啦!《Exceptional C++ Style》40 New Engineering Puzzles , Programming Problems, and Solutions3月1日收到Herb Sutter的mailing-list, 浏览之下发现Herb Sutter又有新书要出版了--《Exceptional C++ Style》,现在已...查看完整版>>
Herb Sutter 又要出新书--《Exceptional C++ Style》啦!
03.
C++ Coding Standards:Summary of Summaries-编码风格By Herb Sutter, Andrei Alexandrescu 著树人 译编码风格14. 优先使用编译时和链接时错误,而不是运行时错误。不要把可以在构建时做的事情推迟到运行时来做:优先编写那些在编译阶段利用编译器来检查不变量的代...查看完整版>>
C++ Coding Standards:Summary of Summaries-编码风格
04.
C++ Coding Standards:Summary of Summaries-组织和方针问题与设计风格By Herb Sutter, Andrei Alexandrescu 著树人 译组织和方针问题0. 不要为小事斤斤计较。(或者说是:知道什么东西不需要标准化)少说废话,捡有必要的说:不要把个人的品味或废弃的实践强加于他人。1. 在高...查看完整版>>
C++ Coding Standards:Summary of Summaries-组织和方针问题与设计风格
05.
C++ Coding Standards Item 2 : Use an automated build systemC++ Coding Standards Item 2 : Use an automated build systemSummaryPush the (singular) button: Use a fully automatic ("one-action") build system that builds the whole project without user int...查看完整版>>
C++ Coding Standards Item 2 : Use an automated build system
06.
C++大师Herb Sutter加盟微软,面对Codeproject侃侃而谈。Herb Sutter is secretary of the ISO/ANSI C++ standards committee, is an accomplished author and C++ expert, and has just joined Microsoft in the Developer and Platform Evangelism Division. Herb will b...查看完整版>>
C++大师Herb Sutter加盟微软,面对Codeproject侃侃而谈。
07.
C++ Coding Standards:类型安全By Herb Sutter, Andrei Alexandrescu 著树人 译类型安全90. 避免使用类型转换,优先使用多态。关闭转换:避免通过转换一个对象的类型来定制行为。通过模板和虚拟函数机制,让类型(而不是类型的调用代码)来决...查看完整版>>
C++ Coding Standards:类型安全
08.
C++ Coding Standards:STL:容器和算法By Herb Sutter, Andrei Alexandrescu树人 译STL:容器76. 默认情况下使用vector。否则,选择一个适当的容器。使用“正确(合适)的容器”是很重要的:如果你有一个很好的理由使用某个特定的容器,在...查看完整版>>
C++ Coding Standards:STL:容器和算法
09.
C++ Coding Standards:错误处理和异常By Herb Sutter, Andrei Alexandrescu 著树人 译错误处理和异常68. 使用断言(assert)来证明内部假设和不变量。Be assertive!对一个模块的内部假设可以使用assert或等价物来说明(例如:调用者和被调用者由同一...查看完整版>>
C++ Coding Standards:错误处理和异常
10.
C++ Coding Standards:模板和泛型By Herb Sutter, Andrei Alexandrescu 著树人译模板和泛型64. 明智地混合使用静态和动态多态。比单纯的部分的总和更多:静态和动态多态是互补的。理解它们的权衡标准,在各自最好的情况下使用它们,并且混合使用...查看完整版>>
C++ Coding Standards:模板和泛型
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。