Google Style Guides | styleguide
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 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 doc
styleguide 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…
saved by
related reading
- About this guide | Google developer documentation style guide | Google for Developersdevelopers.google.com
- styleguide | Style guides for Google-originated open-source projectsgoogle.github.io
- Clean up your code: How to create your own C# code styleblog.unity.com
- Best practices for Claude Code - Claude Code Docsanthropic.com
- The Clojure Style Guideguide.clojure.style
- Impeccable: The missing upgrade to Anthropic's impeccable skillimpeccable.style
- 15-410 Coding Style and Doxygen Documentationcs.cmu.edu
- rams - Expert Design Reviews on Every PRrams.ai
- GitHub - PatrickJS/awesome-cursorrules: 📄 Configuration files that enhance Cursor AI editor experience with custom rules and behaviorsgithub.com
- GitHub - multica-ai/andrej-karpathy-skills: A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls. · GitHubgithub.com
- Style is consistent constraintstephango.com
- GitHub · Change is constant. GitHub keeps you ahead.github.com