(original) (raw)
On Mon, Jan 2, 2012 at 1:50 PM, Larry Hastings <larry@hastings.org> wrote:
On 01/02/2012 12:47 AM, Raymond Hettinger wrote:I'm with Raymond. �Code should be readable, and code reviews are the best way to achieve that--not endlessly specific formatting rules.
Really? �Do we need to have a brace war?
People have different preferences.
The standard library includes some of both styles
depending on what the maintainer thought was cleanest to their eyes in a given context.
Have there been bugs in CPython that the proposed new PEP 7 rule would have prevented?
The irony is that style guides exist to \*avoid\* debates like this. Yes, the choices are arbitrary. Yes, tastes differ. Yes, there are exceptions to the rules. But still, once a style rule has been set, the idea is to stop debating and just code.
--
--Guido van Rossum (python.org/\~guido)