savannah-dev
[Top][All Lists]
Advanced

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

Re: [Savannah-dev] indentation


From: Vincent Caron
Subject: Re: [Savannah-dev] indentation
Date: Wed, 03 Sep 2003 13:31:32 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030727 Thunderbird/0.1

Mathieu Roy wrote:

if (1 != 1) {
        print "blo";
}

GNU style advocates this indentation for functions body (http://www.gnu.org/prep/standards_23.html#SEC23) :

if (1 = 1)
  {
    print "blo";
  }

However I rarely encounter that form in recent code, your convention looks all right to me. Anyway it's a convention, it's only good when we stick to it :)





reply via email to

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