3 ms·
Even PEP8 says "Some teams strongly prefer a longer line length. For code maintained exclusively or primarily by a team that can reach agreement on this issue,
by coldtea 5y ago
Even PEP8 says "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 line length limit up to 99 characters, provided that comments and docstrings are still wrapped at 72 characters."
- indymike 5y ago> it is okay to increase the line length limit up to 99 characters PEP8 is strongly biased towards making code readable, and has helped a generation of programmers start thinking about readability when coding. The line length limit, though, is one of the few parts of PEP8 that introduced defects as a practice. Holding to 80 characters causes: * string concatenation bugs from breaking up long strings * errors in expressions broken up into multiple expressions just to fit * bias to use shorter variable names My favorite part of PEP8 was the warning about "foolish consistency".
- GoblinSlayer 5y agoComments suffer even more from line length limit. I saw it many times when a comment is changed and then all following lines get rewrapped.