星期一, 1月 29, 2018

Coding style guide


忘了從哪抄來的 XD
把自己常用的語言排前面
不過GO真的是不錯,存檔時就先排好,寫不對還不給你Compile
PHP我還得靠hook來做,新的語言就是不一樣

Style guide
Code change should conform to the programming style guide of the respective languages:

  • Go: https://github.com/golang/go/wiki/CodeReviewComments
  • PHP: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
  • Java: https://google.github.io/styleguide/javaguide.html
  • JavaScript: https://github.com/airbnb/javascript
  • Android: https://source.android.com/source/code-style.html
  • C#: https://msdn.microsoft.com/en-us/library/vstudio/ff926074.aspx
  • C++: https://google.github.io/styleguide/cppguide.html
  • Haskell: https://github.com/tibbe/haskell-style-guide/blob/master/haskell-style.md
  • Groovy: http://groovy-lang.org/style-guide.html
  • ObjC: https://github.com/NYTimes/objective-c-style-guide
  • Perl: http://perldoc.perl.org/perlstyle.html
  • Python: https://www.python.org/dev/peps/pep-0008/
  • Ruby: https://github.com/bbatsov/ruby-style-guide
  • Scala: http://docs.scala-lang.org/style/
  • Swift: https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/TheBasics.html
  • TypeScript: https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines

沒有留言: