Re:Beyond PEP 8 – Best practices for beautiful intelligible ...
by rbanffy on Friday August 07, 2015 @11:35PM
(#10026228)
> 80 cols exists for a reason
I like to joke God made The VT52 with 80 columns because that's how terminals should be.
Another I use is that "80 columns should be enough for anyone".
Now, seriously, code that's too wide (or too long) is a code smell. You probably should name your variables better, have fewer them in scope or just refactor the code to be more readable. Remember: code is executed by very cheaply and read by very expensive humans. Optimize for the latter.
I like to joke God made The VT52 with 80 columns because that's how terminals should be.
Another I use is that "80 columns should be enough for anyone".
Now, seriously, code that's too wide (or too long) is a code smell. You probably should name your variables better, have fewer them in scope or just refactor the code to be more readable. Remember: code is executed by very cheaply and read by very expensive humans. Optimize for the latter.