Existing Standard Style and Coding standard documents

The following have been proposed for an upcoming C++ project.

  • 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
  • Are there other choices? Or is the list above what be should used on a C++ project?

    Some related links

  • 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

  • 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. Ie it comes down to arguing about whether prefixing all member variable with m_ is pretty or not.

    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


    C ++编码标准:Herb Sutter和Andrei Alexandrescu撰写的101规则,指南和最佳实践(C ++深度系列)。


    Hmm, strange question. Just choose standard which most of the team members are familiar with. Make some kind of poll for your team. Not sure how SO can help here :)

    链接地址: http://www.djcxy.com/p/72896.html

    上一篇: 重载运算符=中的分段错误

    下一篇: 现有的标准样式和编码标准文件