gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] GlusterFS coding standards


From: Vijay Bellur
Subject: Re: [Gluster-devel] GlusterFS coding standards
Date: Fri, 24 May 2013 10:52:43 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

On 05/24/2013 10:33 AM, Justin Clift wrote:
Hi all,

We don't yet seem to have a "coding standards" document for the GlusterFS
code base.

This is what I reckon as the coding standard guide:

https://github.com/gluster/glusterfs/blob/master/doc/legacy/coding-standard.pdf

Should not be in legacy as most current patches do follow rules in the document.


Anyone object to having one created?

After appropriate discussion and deciding on what to put in it that is.

If that's a decent idea, these are my first random thoughts about it:

  + For the Python code base, follow the Python "PEP 8" standard:

      http://www.python.org/dev/peps/pep-0008/

    It's fairly widespread in the Python community, and many Python tools
    know how to work with it.

I do like the idea of "PEP 8". We do not have any defined standards for python code and this is something that we can adopt.

-Vijay




reply via email to

[Prev in Thread] Current Thread [Next in Thread]