savannah-dev
[Top][All Lists]
Advanced

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

[Savannah-dev] indentation


From: Mathieu Roy
Subject: [Savannah-dev] indentation
Date: 02 Sep 2003 16:39:31 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Hi,

After discussion with the CERN team, we agreed to change this

function example () {
        print "bla";
}

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

to


function example () 
{
        print "bla";
}

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

Which has the advantage of putting the corresponding { } on the same
column. I think this is the GNU recommandation. If I'm mistaking,
please tell me.

So in future, if you agree, we we'll respect this coding style.


-- 
Mathieu Roy
 
  Homepage:
    http://yeupou.coleumes.org
  Not a native english speaker: 
    http://stock.coleumes.org/doc.php?i=/misc-files/flawed-english




reply via email to

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