[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-dev] Re: indentation
From: |
Mathieu Roy |
Subject: |
[Savannah-dev] Re: indentation |
Date: |
05 Sep 2003 09:16:04 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Stephane URBANOVSKI <address@hidden> a tapoté :
> 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.
I prefer using tabs too but I think he means that the tab should use 2
spaces, no?
--
Mathieu Roy
Homepage:
http://yeupou.coleumes.org
Not a native english speaker:
http://stock.coleumes.org/doc.php?i=/misc-files/flawed-english