[Openstack] Being pedantic about pedanticism: HACKING styleguide

Andy Smith andyster at gmail.com
Fri Mar 23 20:59:35 UTC 2012


On Fri, Mar 23, 2012 at 1:17 PM, Mark McLoughlin <markmc at redhat.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120323/7584390c/attachment.html>


More information about the Openstack mailing list