openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #09069
Re: Being pedantic about pedanticism: HACKING styleguide
On Fri, Mar 23, 2012 at 1:17 PM, Mark McLoughlin <markmc@xxxxxxxxxx> wrote:
> On Thu, 2012-03-22 at 22:00 -0700, Andy Smith wrote:
>
> > It is something pulled from the google style guide.
>
> You know what else is in the Google style guide? "Avoid global
> variables" :-)
>
>
> http://google-styleguide.googlecode.com/svn/trunk/pyguide.html?showone=Global_variables#Global_variables
>
> Mark.
>
>
And yet they use a global config object in most of their code, as do
facebook and digg (at quick survey of those people sitting near me).
They also have a variety of things in there that we don't follow because it
is easier to convince people of PEP8 than of the google style guide, but
there are plenty of other good ideas in there that we could absorb, too.
References