史上最全代码风格大全!!!Coding Style Conventions and Standards

Coding Style Conventions and Standards

A curated list of Coding Style Conventions and Standards.

Docs

C

  • C Coding Standard.
  • Recommended C Style and Coding Standards.
  • SEI CERT C Coding Standard.

C#

  • C# Coding Standards and Naming Conventions.
  • Microsoft C# Coding Conventions (C# Programming Guide).
  • Mono Coding Guidelines.
  • The Official raywenderlich.com C# Style Guide - C# Style Guide for Unity Tutorials.

C++

  • Apache OpenOffice Cpp Coding Standards
  • C++ Coding Standard.
  • C++ Coding Standard.
  • Google C++ Style Guide.
  • High Integrity C++ Coding Standard.
  • SEI CERT C++ Coding Standard.

Clojure

  • The Clojure Style Guide - A community coding style guide for the Clojure programming language.

Common Lisp

  • Ariel Networks Common Lisp Style Guide.
  • Google Common Lisp Style Guide.

D

  • The D Style.

Dart

  • Dart Style Guide.

Elixir

  • The Elixir Style Guide - A community driven style guide for Elixir.

Erlang

  • Erlang Coding Standards & Guidelines - Inaka's Erlang Coding Guidelines.
  • Programming Rules and Conventions.

F#

  • Microsoft Code Formatting Guidelines (F#).
  • The F# Component Design Guidelines.

Fortran

  • Fortran 90 Best Practices.

Go

  • How to Write Go Code.

Git

  • Git Style Guide - A Git Style Guide.
  • Git Style Guide - Personal guide for using git with GitHub.

Haskell

  • Haskell Programming guidelines.
  • Haskell Style Guide - A document describing how I like Haskell code to be written.
  • Haskell Style Guide - A style guide for Haskell code.

HTML/CSS

  • CSS Style Guide - MercadoLibre CSS Style Guide.
  • Evernote CSS Style Guide.
  • Google HTML/CSS Style Guide.
  • HTML Style Guide.
  • jQuery CSS Style Guide.
  • jQuery HTML Style Guide.
  • MediaWiki CSS Coding Conventions.
  • W3Schools HTML(5) Style Guide and Coding Conventions.
  • WordPress CSS Coding Standards.
  • WordPress HTML Coding Standards.

Java

  • Code Conventions for the Java ™ Programming Language.
  • Google Java Style.
  • Java Programming Style Guidelines.
  • OpenJDK Java Style Guidelines.
  • SEI CERT Oracle Coding Standard for Java.
  • The Official raywenderlich.com Java Style Guide - The official Java style guide for raywenderlich.com.

JavaScript

  • Airbnb JavaScript Style Guide - JavaScript Style Guide.
  • Code Conventions for the JavaScript Programming Language.
  • GitHub JavaScript Coding Style.
  • Google JavaScript Style Guide.
  • JavaScript Quality Guide - A JavaScript Quality Guide.
  • JavaScript Style Guide - JavaScript style guide.
  • JavaScript Style Guide - JavaScript Style Guide.
  • JavaScript Style Guide - MercadoLibre JavaScript Style Guide.
  • JavaScript: The Right Way - An easy-to-read, quick reference for JS best practices, accepted coding standards, and links around the Web.
  • jQuery JavaScript Style Guide.
  • MediaWiki JavaScript Coding Conventions.
  • The GoCardless JavaScript Style Guide The GoCardless JavaScript styleguide.
  • W3Schools JavaScript Style Guide and Coding Conventions.
  • WordPress JavaScript Coding Standards.

AngularJS

  • An AngularJS Style Guide for Closure Users at Google.
  • Angular Style Guide - Angular Style Guide: A starting point for Angular development teams to provide consistency through good practices.

JSON

  • Google JSON Style Guide.

Lua

  • Lua Style Guide - Olivine Labs Lua Style Guide.

Markdown

  • Markdown Style Guide.

Objective-C

  • GitHub Objective-C Style Guide - Style guide & coding conventions for Objective-C projects.
  • Google Objective-C Style Guide.
  • Macoscope Objective-C Style Guide - Our code style guidelines.
  • NYTimes Objective-C Style Guide - The Objective-C Style Guide used by The New York Times.
  • Robots & Pencils Objective-C Style Guide - Our Objective-C coding style guide. Fall in line!
  • The Official raywenderlich.com Objective-C Style Guide - A style guide that outlines the coding conventions for raywenderlich.com.
  • The Official wantedly.com Objective-C Style Guide.
  • Wonderful Objective-C Style Guide - A complete OSX and iOS Objective-C coding style guide.

Perl

  • Apache OpenOffice Perl Coding Standards.
  • Perl Style Guide.
  • SEI CERT Perl Coding Standard.

PHP

  • MediaWiki PHP Coding Conventions.
  • ONGR Strict Coding Standard - Strict PHPCS standard for PSR-2 code based on Squiz standards.
  • PHP Framework Interop Group Coding Style Guide.
  • WordPress PHP Coding Standards.

Prolog

  • Prolog Programming Guidelines.

Python

  • Google Python Style Guide.
  • MediaWiki Python Coding Conventions.
  • PEP 8 Style Guide for Python Code.
  • The Hitchhiker's Guide to Python Code Style.

R

  • Advanced R Style Guide.
  • Google's R Style Guide.

Ruby

  • Airbnb's Ruby Style Guide - Ruby Style Guide.
  • GitHub Ruby Coding Style.
  • MediaWiki Ruby Coding Conventions.
  • The Ruby Style Guide - A community-driven Ruby coding style guide.
  • The Unofficial Ruby Usage Guide.

Ruby on Rails

  • Contributing to Ruby on Rails.
  • The Rails Style Guide - A community-driven Ruby on Rails 4 style guide.

Rust

  • Rust Guidelines

Scala

  • Scala Style Guide.

Shell

  • Bash Style Guide - A style guide for writing safe, predictable, and portable bash scripts (not sh!).
  • Community Bash Style Guide - (community-driven) guide to writing useful and modern bash scripts. seriously.
  • Google Shell Style Guide.

Standard ML

  • MLton's Syntactic Conventions.

Swift

  • GitHub Swift Style Guide - Style guide & coding conventions for Swift projects.
  • Swift Style Guide - SlideShare Swift Style Guide we are using for our upcoming iOS 8 only app written in Swift.
  • The Official raywenderlich.com Swift Style Guide - The official Swift style guide for raywenderlich.com.
  • The Swift Style Guide - The Swift Style Guide. This guide should help you to improve your Swift code style, its readability, consistency and simplicity.

VHDL

  • VHDL Coding Style Guidelines.

Visual Basic

  • Microsoft Visual Basic Coding Conventions.

XML

  • Google XML Document Format Style Guide.

Contributing

Please see CONTRIBUTING for details.

License

This list was created by Salvatore Gentile and is released under The MIT License (MIT).

——————————————————————————————

https://github.com/SalGnt/cscs

你可能感兴趣的:(杂)