Skip to content

Instantly share code, notes, and snippets.

@aw236
Last active September 27, 2019 05:54
Show Gist options
  • Save aw236/56f748cca93d9f36a5aa217fcfd1c6e1 to your computer and use it in GitHub Desktop.
Save aw236/56f748cca93d9f36a5aa217fcfd1c6e1 to your computer and use it in GitHub Desktop.
Language Coding Standard Maximum Line Length source
Python Python Enhancement Proposal (PEP8) by Guido van Rossum et. al. 79 https://www.python.org/dev/peps/pep-0008/#maximum-line-length
R Google/Tidyverse 80 https://style.tidyverse.org/syntax.html#long-lines
Java Google Java Style Guide 100 https://google.github.io/styleguide/javaguide.html#s4.4-column-limit
PHP PHP Standard Recommendation 2 (PSR-2) 80-120 https://www.php-fig.org/psr/psr-2/
Ruby AirBnB Ruby Style Guide 100 https://github.com/airbnb/ruby#line-length
JavaScript Google Javascript Style Guide 80 https://google.github.io/styleguide/jsguide.html#formatting-column-limit
CSS Harry Roberts (a CSS 'architect' and consultant) 80 https://cssguidelin.es
C++ Google C++ Style Guide & UPenn CIS 190 80 (https://google.github.io/styleguide/cppguide.html#Line_Length & http://www.cis.upenn.edu/~cis190/fall2014/style.html)
Go GoLang/Effective Go no limit https://golang.org/doc/effective_go.html#formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment