google/styleguide
google/styleguide has 39,810 GitHub stars and 12,918 forks. GitHot measured 0 stars in 24 hours and +19 in 7 days. Last checked 2026-11-09 09:11 UTC. Last push 2026-10-30.
Guías de estilo para proyectos de código abierto originados en Google
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- +19
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalGoogle 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.
- Angular Style Guide
- Common Lisp Style Guide
- C++ Style Guide
- C# Style Guide
- Effective Dart
- Go Style Guide
- Haskell Style Guide
- HTML/CSS Style Guide
- JavaScript Style Guide
- Java Style Guide
- JSON Style Guide
- Kotlin Style Guide
- Markdown Style Guide
- Objective-C Style Guide
- Python Style Guide
- R Style Guide
- Rust Style Guide
- Shell Style Guide
- Swift Style Guide
- TCL/TK Style Guide
- TypeScript Style Guide
- Verilog Style Guide
- Vim script Style Guide
- XML Document Format Style Guide
Source Code Management
Since projects are largely maintained in a VCS, writing good commit messages is important to long term project health. Please refer to How to Write a Git Commit Message as an excellent resource. While it explicitly refers to the Git SCM, its principles apply to any system, and many Git conventions are trivial to translate to others.
Editors & Tools
Google engineers use a wide variety of editors & IDEs.
- Eclipse & IntelliJ
- Emacs: google-c-style.el
- Vim: https://github.com/google/vim-codefmt
- Python: google_python_style.vim
We used to host the cpplint tool, but we stopped making internal updates public. An open source community has forked the project, so users are encouraged to use https://github.com/cpplint/cpplint instead.
Contributing
With few exceptions, these style guides are copies of Google's internal style guides to assist developers working on Google owned and originated open source projects. Changes to the style guides are made to the internal style guides first and eventually copied into the versions found here. External contributions are not accepted. Pull requests are regularly closed without comment.
While many of these guides are hosted directly in this project, others might be hosted in other projects. Sometimes those projects are also maintained by Google, sometimes they are wider community projects that Google contributes to like anyone else. Before reporting issues against a particular language/guide, please check where the guide is hosted.
People can file issues using the GitHub tracker. Issues that raise questions, justify changes on technical merits, or point out obvious mistakes may get some engagement and could in theory lead to changes, but we are primarily optimizing for Google's internal needs.
Licensing
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.
Code samples are licensed under the Apache 2.0 License. See https://www.apache.org/licenses/LICENSE-2.0 for more details.
Explorar proyectos relacionados
codecrafters-io/build-your-own-x
Domina la programación recreando desde cero tus tecnologías favoritas.
561,239 estrellaspublic-apis/public-apis
Una lista colectiva de API gratuitas
497,490 estrellasmorluto/rea
Ingeniería inversa de cualquier cosa con agentes, desde el comportamiento de la aplicación hasta los binarios nativos.
445,685 estrellasopenclaw/openclaw
La IA que de verdad hace las cosas. Cualquier sistema operativo y cualquier plataforma. Al estilo langosta. 🦞
394,228 estrellas