[Python-ideas] 80 character line width vs. something wider

David Stanek dstanek at dstanek.com
Thu May 21 20:11:49 CEST 2009


On Thu, May 21, 2009 at 12:59 PM, Raymond Hettinger <python at rcn.com> wrote:
>
> What I'm more concerned about is lines that start many tabs deep.
> Those become awkward, causing you to wrap them differently than
> if they were not tabbed.  So, I think the 80 char limit should be relaxed
> only when there is a bunch of whitespace to the left.  Your cues for
> refactoring  and coding style should not depend on the initial level of
> indentation.
>

I disagree. I find that highly nested code probably needs refactoring.
The code in question is likely too complex and hard to test. Of course
this is not always the case, just a general rule in my experience.

-- 
David
blog: http://www.traceback.org
twitter: http://twitter.com/dstanek



More information about the Python-ideas mailing list