savannah-dev
[Top][All Lists]
Advanced

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

Re: [Savannah-dev] indentation


From: Nic
Subject: Re: [Savannah-dev] indentation
Date: 04 Sep 2003 22:41:39 +0100

Stephane URBANOVSKI <address@hidden> writes:

> Nic a écrit :
> > Mathieu Roy <address@hidden> writes:
> > 
> > 
> >>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";
> >>}
> 
> 
> It's not my prefered style, but it seems to be clear and widely used.
> I'm ok.
> 
> > 
> > GNU coding style is not quite that, it would be better IMHO to use
> > GNU coding style which is this:
> > 
> [...]
> >  
> > Top-level (ie: function) bodys are not indented, all other blocks are
> > indented. The indentation level is 2 spaces.
> 
> I really don't like indentation that use spaces.
> Using tabs is much usefull for me.

None the less, I was describing the GNU coding style.


Nic





reply via email to

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