Hacker News new | past | comments | ask | show | jobs | submit login

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-lengt...




"Because an 80 char wide Emacs window starts wrapping at 79."

https://www.reddit.com/r/learnpython/comments/1h2eug/pep_8_w...


Neat, another weapon to use against emacs in the vim vs emacs war.


Ugh.


Because with a diff annotation, it grows to 80.


huh, 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.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: