User Tools

Site Tools


info:cxx_style

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
info:cxx_style [2013-01-17 19:54]
sam [Exceptions] citation
info:cxx_style [2016-06-17 15:59] (current)
sam
Line 1: Line 1:
 ====== Style Guides ====== ====== Style Guides ======
  
-  * [[http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml|Google C++ Style Guide]]+  * [[https://google.github.io/styleguide/cppguide.html|Google C++ Style Guide]]
     * I don't follow many of the "​nonstandard"​ naming conventions (e.g. use of underscores instead of camel-case),​ though I can sometimes see advantages to them.     * I don't follow many of the "​nonstandard"​ naming conventions (e.g. use of underscores instead of camel-case),​ though I can sometimes see advantages to them.
     * Though I kind of like the "​k"​ prefix for constants (distinguishing them from macros), it seems a bit non-standard.     * Though I kind of like the "​k"​ prefix for constants (distinguishing them from macros), it seems a bit non-standard.
Line 7: Line 7:
   * [[http://​stackoverflow.com/​questions/​1421694/​naming-convention-for-fields-and-accessors-in-c|"​Naming convention for fields and accessors in C++" on StackOverflow]]   * [[http://​stackoverflow.com/​questions/​1421694/​naming-convention-for-fields-and-accessors-in-c|"​Naming convention for fields and accessors in C++" on StackOverflow]]
   * http://​www.possibility.com/​Cpp/​CppCodingStandard.html   * http://​www.possibility.com/​Cpp/​CppCodingStandard.html
 +
 +===== General Conventions =====
 +  * [[http://​www.stroustrup.com/​bs_faq2.html|Bjarne Stroustrup'​s C++ Style and Technique FAQ]]
 +    * [[https://​github.com/​isocpp/​CppCoreGuidelines/​blob/​master/​CppCoreGuidelines.md|C++ Core Guidelines]]
  
 ====== Personal Style Notes ====== ====== Personal Style Notes ======
info/cxx_style.txt · Last modified: 2016-06-17 15:59 by sam