Created
September 30, 2015 22:03
-
-
Save achiang/b9914519119538b74bc8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The default wrapping in most tools disrupts the visual structure of the code, making it more difficult to | |
understand. The limits are chosen to avoid wrapping in editors with the window width set to 80, even if the tool | |
places a marker glyph in the final column when wrapping lines. Some web based tools may not offer dynamic line | |
wrapping at all. | |
Some teams strongly prefer a longer line length. For code maintained exclusively or primarily by a team that | |
can reach agreement on this issue, it is okay to increase the nominal line length from 80 to 100 characters | |
(effectively increasing the maximum length to 99 characters), provided that comments and docstrings are still | |
wrapped at 72 characters. | |
The Python standard library is conservative and requires limiting lines to 79 characters (and docstrings/comments to 72). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment