文件名称:google代码风格
文件大小:2.25MB
文件格式:ZIP
更新时间:2018-12-17 08:17:25
google 代码风格
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 holds 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. Our 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 are now available. We have also released cpplint, a tool to assist with style guide compliance, and google-c-style.el, an Emacs settings file for Google style.
【文件预览】:
styleguide
----vimscriptfull.xml(49KB)
----cppguide.html(194KB)
----vimscriptguide.xml(14KB)
----jsoncstyleguide_example_01.png(312KB)
----intellij-java-google-style.xml(23KB)
----google_python_style.vim(1KB)
----.git()
--------index(4KB)
--------hooks()
--------config(314B)
--------description(73B)
--------refs()
--------branches()
--------logs()
--------packed-refs(175B)
--------objects()
--------info()
--------HEAD(25B)
----eclipse-cpp-google-style.xml(17KB)
----docguide()
--------style.md(11KB)
--------VERSION(4B)
--------README.md(254B)
--------philosophy.md(3KB)
--------READMEs.md(2KB)
--------best_practices.md(5KB)
----include()
--------styleguide.js(8KB)
--------styleguide.css(4KB)
--------link.png(189B)
----shell.xml(35KB)
----cpplint()
--------README(2KB)
--------cpplint_unittest.py(217KB)
--------cpplint.py(236KB)
--------cpplint_test_header.h(42B)
----xmlstyle.html(34KB)
----jsoncstyleguide.html(745B)
----javaguidelink.png(189B)
----eclipse-java-google-style.xml(35KB)
----lispguide.xml(152KB)
----jsoncstyleguide_example_02.png(253KB)
----pyguide.html(108KB)
----Rguide.xml(16KB)
----angularjs-google-style.html(14KB)
----google-r-style.html(738B)
----htmlcssguide.xml(35KB)
----styleguide.css(2KB)
----javaguide.html(57KB)
----objcguide.xml(65KB)
----README.md(2KB)
----jsoncstyleguide.xml(45KB)
----google-c-style.el(6KB)
----javascriptguide.xml(132KB)
----javaguide.css(5KB)
----cppguide.xml(727B)
----styleguide.xsl(38KB)