各种语言编码规范、最佳实践指南合集

趋势

Awesome Guidelines Awesome

Programming style, best practices, and coding conventions.

Contents

Programming Languages

Brainfuck

  • BF Style Guide - Guidelines for writing and formatting Brainfuck code.

C

C#

C++

Clojure

Common Lisp

D

  • The D Style - A set of style conventions for writing D programs.

Dart

  • Effective Dart - Recommendations for consistent, idiomatic Dart code.

Delphi

Elixir

Elm

Emacs Lisp

Erlang

F#

Fortran

Go

Groovy

Haskell

Java

JavaScript

JSON

Julia

  • Blue Style - Community style guide for Julia packages.

Kotlin

Lua

Markdown

.NET

Nim

Objective-C

Pascal

Perl

PHP

  • 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.

Python

R

Racket

Ruby

Rust

Scala

Solidity

Swift

TypeScript

Visual Basic

XML

Development Environment

Shell

Git

PowerShell

Platforms

Android

Apache

API

Arduino

Frontend Development

GNU

Java

Linux

Mailchimp

Mozilla

Google

Node.js

MongoDB

SQL

Other

Frameworks

Content Management System

Tools

  • Agents.md - A simple, open format for guiding coding agents.
  • Checkstyle - Tool for checking Java source code for adherence to a Code Standard or set of validation rules.
  • Conventional Changelog - Generate changelogs from Git commits.
  • EasyCodingStandard - The Easiest Way to Use Any Coding Standard.
  • ESLint - The pluggable linting utility for JavaScript and JSX.
  • JavaScript Standard Style - One JavaScript Style to Rule Them All.
  • Laravel Pint - An opinionated PHP code style fixer for minimalists.
  • PHP_CodeSniffer - The tool for detecting and fixing the violations of the specified standards in PHP code.
  • PHP Coding Standards Fixer - The PHP Coding Standards Fixer (PHP CS Fixer) tool fixes your code to follow standards.
  • RuboCop - A Ruby static code analyzer and formatter, based on the community Ruby style guide.
  • semantic-release - Automated versioning and publishing from commits.
  • ShellCheck - A shell script static analysis tool.
关于
Programming style, best practices, and coding conventions.
10.9 k
617
181
语言
JavaScript
100%