A curated list of high quality coding style conventions and standards.
A set of guidelines for a specific programming language that recommend programming style, practices, and methods for each aspect of a program written in that language.
Contributions welcome. Please read the contribution guidelines before contributing. Add links through pull requests or create an issue to start a discussion.
- Google C++ Style Guide
- C++ Core Guidelines - A set of tried-and-true guidelines, rules, and best practices about coding in C++.
- The Clojure Style Guide - A community coding style guide for the Clojure programming language.
- The D Style - A set of style conventions for writing D programs.
- Fortran 90 Standards - European Standards For Writing and Documenting Exchangeable Fortran 90 Code.
- Code Conventions for the Java™ Programming Language
- Google Java Style Guide - Google's coding standards for source code in the Java™ Programming Language.
- Java Programming Style Guide
- Alibaba-Java-Coding-Guidelines - A guide for Java developers
- JavaScript The Right Way - An easy-to-read, quick reference for JS best practices, accepted coding standards, and links around the Web.
- Google JavaScript Style Guide - This document serves as the complete definition of Google’s coding standards for source code in the JavaScript programming language.
- Airbnb JavaScript Style Guide - A mostly reasonable approach to JavaScript.
- jQuery Core Style Guide
- JavaScript Style Guides And Beautifiers
- JavaScript Style Guide and Coding Conventions
- Code Conventions for the JavaScript
- Javascript Clean Code - Software engineering principles, from Robert C. Martin's book Clean Code, adapted for JavaScript.
- Google Markdown Style Guide - Style guide for Google-originated projects using Markdown.
- Markdown Style Guide
- Objective-C Style guide - Style guide & coding conventions for Objective-C projects.
- Google Objective-C Style Guide
- NYTimes Objective-C Style Guide - The Objective-C Style Guide used by The New York Times.
- Perl best practices v4 - slides by Randal Schwartz, based on the book by Damian Conway.
- Perl Elements to Avoid - A list of unrecommended practices, and what to do instead.
- perlstyle
- PHP FIG - PHP Standards Recommendations.
- PHP The Right Way - An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web.
- Clean Code PHP - Clean Code concepts adapted for PHP
- Style Guide for Python Code
- Google Python Style Guide
- The Hitchhiker’s Guide to Python - Highly regarded Python best practices guide.
- Ruby Style Guide - Airbnb's Ruby Style Guide.
- Ruby Style Guide - A community-driven Ruby coding style guide.
- Scala Style Guide
- Databricks Scala Guide - Databricks Scala Coding Style Guide.
- Scala Best Practices
- Google Shell Style Guide - Style guide for Google-originated projects using Shell.
- API Design Guidelines
- Swift - A guide to our Swift style and conventions.
- Swift style guide
- Swift Style Guide - LinkedIn's Official Swift Style Guide
- Metova's Swift style guide
- Xmartlabs Swift Style Guide - Swift language style guide & coding conventions followed by Xmartlabs.
- The PowerShell Best Practices and Style Guide - The Unofficial PowerShell Best Practices and Style Guide.
- Android Guidelines - Architecture and code guidelines we use at ribot when developing for Android.
- Xmartlabs Android Style Guide - Style guide for Android by Xmartlabs.
- HAL - A simple format that gives a consistent and easy way to hyperlink between resources in your API
- Microsoft REST API Guidelines - The Microsoft REST API Guidelines
- JSON API - Recommendations - This section contains recommendations for JSON API implementations
- API Security Checklist - Checklist of the most important security countermeasures when designing, testing, and releasing your API
- CSS Guildelines - High-level advice and guidelines for writing sane, manageable, scalable CSS.
- Frontend Guidelines - Some HTML, CSS and JS best practices.
- Sass Guidelines - An opinionated styleguide for writing sane, maintainable and scalable Sass.
- Airbnb CSS / Sass Styleguide - A mostly reasonable approach to CSS and Sass.
- HTML Style Guide - A style guide which helps you write better, performant, structured, scalable and maintainable HTML.
- HTML + CSS Code Guide - Standards for flexible, durable, and sustainable HTML and CSS.
- U.S. Web Design Standards - Open source UI components and visual style guide for U.S. government websites.
- CoffeeScript Style Guide - A collection of best-practices and coding conventions for the CoffeeScript programming language.
- LESS Coding Guidelines
- Google HTML/CSS Style Guide
- Guidelines for Responsive Web Design
- Yelp Styleguide
- Ambassador Conventions - A UX and design pattern library for all Ambassador apps.
- Front-End Checklist
- GNU coding standards
- Making The Best Use of C - This chapter provides advice on how best to use the C language when writing GNU software.
- npm-coding-style
- Microsoft + Node.js Guidelines
- Node.js Style Guide - A guide for styling your node.js / JavaScript code.
- Keep a CHANGELOG - Don’t let your friends dump git logs into CHANGELOGs™.
- Project Guidelines - A set of best practices for JavaScript projects.
- Semantic Versioning
- Indent style
- WebAppSec/Secure Coding Guidelines
- JavaScript Standard Style - One JavaScript Style to Rule Them All.
- Checkstyle - tool for checking Java source code for adherence to a Code Standard or set of validation rules.
- Conventional Changelog
- semantic-release
- North - Design and development standards to align and guide your project.
Contributions welcome! Read the contribution guidelines first.
To the extent possible under law, Wahyu Kristianto has waived all copyright and related or neighboring rights to this work.