4 ms·
Except that pep8 doesn't call for 80-column limit?[1] Or am I missing something? It seems pretty clearly to request 79 to me. This is actually one of my pet pee
by eredengrin 7y ago
Except that pep8 doesn't call for 80-column limit?[1] Or am I missing something? It seems pretty clearly to request 79 to me. This is actually one of my pet peeves about pep8, why can't it just be 80 like everyone else?
[1] https://www.python.org/dev/peps/pep-0008/#maximum-line-length https://www.python.org/dev/peps/pep-0008/#maximum-line-lengt...
- shthed 7y ago"Because an 80 char wide Emacs window starts wrapping at 79." https://www.reddit.com/r/learnpython/comments/1h2eug/pep_8_why_is_the_character_limit_79_and_not_80/ https://www.reddit.com/r/learnpython/comments/1h2eug/pep_8_w...
- shrimp_emoji 7y agoUgh.
- eredengrin 7y agoNeat, another weapon to use against emacs in the vim vs emacs war.
- ncmncm 7y agoBecause with a diff annotation, it grows to 80.
- eredengrin 7y agohuh, that's actually the first time I've heard a somewhat reasonable answer for that question. I wonder why pep8 gives such a terrible reason (editors that show newline chars) when there's actually a somewhat defensible reason. I still disagree with it, and other guides don't appear to consider this a problem even for projects like the linux kernel, which considers terminal users to be first class citizens, but it's at least nice to know a better reasoning than showing newline chars.