mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Style guides for Google-originated open-source projects
cd4ce0fff0
- Revise "Smart Pointers" section. - Clarify that it's OK to have spaces after '#' in a preprocessor directive, even though '#' itself must not be indented. - Revise "TODO Comments" section. - Fix wording. - Explicitly recommend foo.h be the first file #included by foo_test.cc. Update Objective-C style guide to 2.24: - Clarify the spacing of @property declarations. - Add "Overridden NSObject Method Placement" section. - Explicitly permit blank lines around @interface, @implementation, and @end. Update JavaScript style guide to 2.20: - Provide additional guidance with respect to the compiler. - Add {function(new:Type)} as a type syntax for constructors of Type. - Revise "Method and Function Comments" section. - Harmonize text and example in the "Passing Anonymous Functions" section. - Explicitly state that @param and @return types must be enclosed in braces. - Add documentation on the UNKNOWN type. - Replace a CODE_SNIPPET with BAD_CODE_SNIPPET in the "Internet Explorer's Conditional Comments" section. - Remove a redundant "Expand for more information" in the "Naming" section and fully spell out "information" in the "Code Formatting" section. - Provide a positive example in the "Multiline string literals" section. - Provide guidance for indentation within nested functions. Update Python style guide to 2.20: - Clarify shebang rule. |
||
---|---|---|
cpplint | ||
cppguide.xml | ||
google_python_style.vim | ||
google-c-style.el | ||
google-r-style.html | ||
javascriptguide.xml | ||
jsoncstyleguide_example_01.png | ||
jsoncstyleguide_example_02.png | ||
jsoncstyleguide.html | ||
jsoncstyleguide.xml | ||
objcguide.xml | ||
pyguide.html | ||
styleguide.css | ||
styleguide.xsl | ||
xmlstyle.html |