You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
4 months ago
..
cpplint v811_spc009_project 4 months ago
docguide v811_spc009_project 4 months ago
include v811_spc009_project 4 months ago
LICENSE v811_spc009_project 4 months ago
METADATA v811_spc009_project 4 months ago
MODULE_LICENSE_BSD v811_spc009_project 4 months ago
MODULE_LICENSE_CC v811_spc009_project 4 months ago
OWNERS v811_spc009_project 4 months ago
README.md v811_spc009_project 4 months ago
Rguide.md v811_spc009_project 4 months ago
Rguide.xml v811_spc009_project 4 months ago
angularjs-google-style.html v811_spc009_project 4 months ago
cppguide.html v811_spc009_project 4 months ago
cppguide.xml v811_spc009_project 4 months ago
eclipse-cpp-google-style.xml v811_spc009_project 4 months ago
eclipse-java-google-style.xml v811_spc009_project 4 months ago
google-c-style.el v811_spc009_project 4 months ago
google-r-style.html v811_spc009_project 4 months ago
google_python_style.vim v811_spc009_project 4 months ago
htmlcssguide.html v811_spc009_project 4 months ago
htmlcssguide.xml v811_spc009_project 4 months ago
intellij-java-google-style.xml v811_spc009_project 4 months ago
javaguide.css v811_spc009_project 4 months ago
javaguide.html v811_spc009_project 4 months ago
javaguidelink.png v811_spc009_project 4 months ago
javascriptguide.xml v811_spc009_project 4 months ago
jsguide.html v811_spc009_project 4 months ago
jsoncstyleguide.html v811_spc009_project 4 months ago
jsoncstyleguide.xml v811_spc009_project 4 months ago
jsoncstyleguide_example_01.png v811_spc009_project 4 months ago
jsoncstyleguide_example_02.png v811_spc009_project 4 months ago
lispguide.xml v811_spc009_project 4 months ago
objcguide.md v811_spc009_project 4 months ago
objcguide.xml v811_spc009_project 4 months ago
pyguide.md v811_spc009_project 4 months ago
shell.xml v811_spc009_project 4 months ago
styleguide.css v811_spc009_project 4 months ago
styleguide.xsl v811_spc009_project 4 months ago
vimscriptfull.xml v811_spc009_project 4 months ago
vimscriptguide.xml v811_spc009_project 4 months ago
xmlstyle.html v811_spc009_project 4 months ago

README.md

Google Style Guides

Every major open-source project has its own style guide: a set of conventions (sometimes arbitrary) about how to write code for that project. It is much easier to understand a large codebase when all the code in it is in a consistent style.

“Style” covers a lot of ground, from “use camelCase for variable names” to “never use global variables” to “never use exceptions.” This project (google/styleguide) links to the style guidelines we use for Google code. If you are modifying a project that originated at Google, you may be pointed to this page to see the style guides that apply to that project.

This project holds the C++ Style Guide, Objective-C Style Guide, Java Style Guide, Python Style Guide, R Style Guide, Shell Style Guide, HTML/CSS Style Guide, JavaScript Style Guide, AngularJS Style Guide, Common Lisp Style Guide, and Vimscript Style Guide. This project also contains cpplint, a tool to assist with style guide compliance, and google-c-style.el, an Emacs settings file for Google style.

If your project requires that you create a new XML document format, the XML Document Format Style Guide may be helpful. In addition to actual style rules, it also contains advice on designing your own vs. adapting an existing format, on XML instance document formatting, and on elements vs. attributes.

The style guides in this project are licensed under the CC-By 3.0 License, which encourages you to share these documents. See https://creativecommons.org/licenses/by/3.0/ for more details.

The following Google style guides live outside of this project: Go Code Review Comments and Effective Dart.

Creative Commons License