
On Tue, May 19, 2009 at 8:51 PM, Ben Finney <ben+python@benfinney.id.au> wrote:
Curt Hagenlocher <curt@hagenlocher.org> writes:
Unless -- hypothetically -- the architect decides that all the source in the project will follow PEP-8 and you want to do an end-run around the decision because you're tired of losing five minutes every few hours as a result of working out how to reformat a block of code to best respect the 80-char limit.
As pointed out elsewhere in this thread, very often the superior solution is not to re-*format* the same statement to fit, but to re-*factor* the code so it's less deeply indented or does less in each statement.
Yes, "refactor" is a much better word than "reformat" for what I was thinking. -- Curt Hagenlocher curt@hagenlocher.org