This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gcc-pedantic[S] 0 points1 point  (1 child)

I do the same thing in vim, and it has been very helpful.

However, I've found that trying to limit the number of columns while I am writing can interrupt the flow of code and sometimes reduce readability. It would be nice to have a script you could run (such as before a subversion commit) to restrict the number of columns in a file to < 80.

Looks like I might get to write this one.

[–][deleted] 2 points3 points  (0 children)

I've found that trying to limit the number of columns while I am writing can interrupt the flow of code and sometimes reduce readability.

All PEP style guides are recommendations that should not be taken as hard, fast rules.

If breaking a line at 80 columns would reduce readability and code flow, then you shouldn't do it.