王朝网络
分享
 
 
 

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

来源:王朝搜索
 
01.C++ Coding Standards Item 2 : Use an automated build system
C++ 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
 
02.C++ Coding Standards Item 3: Use a version control system
C++ Coding Standards Item 3: Use a version control systemSummaryThe palest of ink is better than the best memory (Chinese proverb): Use a version control system (VCS). Never keep files checked out for...查看完整版>>C++ Coding Standards Item 3: Use a version control system
 
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.Herb Sutter又有新作《C++ Coding Standards》
参看...查看完整版>>Herb Sutter又有新作《C++ Coding Standards》
 
06.C++ Coding Standards Item 5 : Give One entity one cohesive responsibility
C++ Coding Standards Item 5 : Give One entity one cohesive responsibilitySummaryFocus on one thing at a time: Prefer to give each entity (variable, class, function, namespace, module, library) one wel...查看完整版>>C++ Coding Standards Item 5 : Give One entity one cohesive responsibility
 
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:模板和泛型
 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
>>返回首页<<
推荐阅读
 
 
频道精选
 
静静地坐在废墟上,四周的荒凉一望无际,忽然觉得,凄凉也很美
© 2005- 王朝网络 版权所有