现有标准样式和编码标准文件 [英] Existing Standard Style and Coding standard documents
问题描述
以下是为即将到来的C ++项目提出的。
The following have been proposed for an upcoming C++ project.
- Sutter和Alexandrescu的C ++编码标准
- JSF Air Vehicle C ++编码标准
- C ++风格的元素
- Scott Meyers的有效C ++第3版
- C++ Coding Standards, by Sutter and Alexandrescu
- JSF Air Vehicle C++ coding standards
- The Elements of C++ Style
- Effective C++ 3rd Edition, by Scott Meyers
有其他选择吗?或者上面列出了在C ++项目中应该使用的列表?
Are there other choices? Or is the list above what be should used on a C++ project?
一些相关链接
- 你认为软件公司应该为开发人员提供编码风格?
- https://stackoverflow.com/questions/66268/what-is-the-best-cc-coding-style-closed
- Do you think a software company should impose developers a coding-style?
- https://stackoverflow.com/questions/66268/what-is-the-best-cc-coding-style-closed
推荐答案
只要大家一起去,我真的认为你所采用的是无关紧要的。有时可能很难,因为似乎有些风格不符合人的情绪。即关于是否在 m _
之前加入所有成员变量是否为 。
I really think it does not matter which one you adopt, as long as everyone goes along with it. Sometimes that can be hard as it seems that some styles don't agree with peoples tases. I.e. it comes down to arguing about whether prefixing all member variable with m_
is pretty or not.
我一直在使用和修改 Geosoft 标准一段时间,这些是针对C ++ 。还有一些在什么是你最喜欢的编码 - 指南 - 清单线程
I have been using and modifying the Geosoft standards for a while, these are for C++. There are some other at the what-is-your-favorite-coding-guidelines-checklist thread
这篇关于现有标准样式和编码标准文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!