[Ns-developers] new ns-2 software contributions
Mathieu Lacage
Mathieu.Lacage at sophia.inria.fr
Wed Apr 6 03:30:54 PDT 2005
On Tue, 2005-04-05 at 17:01 -0400, Qihe Wang wrote:
> Mathieu,
>
> Thanks for the link. The 2-space indent looks horrible to me. I prefer
Code layout is not really the most important part of that document but
it is often the one over which most people fight. I personnaly don't
really like 2-space indents so if everyone agrees, we could say that we
use that coding style except that we use 4 or 8 spaces (please, no tabs)
indents.
regards,
Mathieu
> the old K&R style. The command 'indent -kr ' generates quite presant
> output for me, although it has problems with class declaration and tail
> 'const' keyword.
>
> Regards, Qihe
>
> On Tue, 5 Apr 2005, Mathieu Lacage wrote:
>
> > On Tue, 2005-03-29 at 10:24 +0200, Mathieu Lacage wrote:
> > > On Sun, 2005-03-27 at 21:50 -0800, Tom Henderson wrote:
> > >
> > > > I agree, although I don't know how much we would want to commit to
> > > > reformatting the existing code. Is there a particular style that you or
> > > > others would recommend?
> > >
> > > No, I dislike them all :)
> > >
> > > For the sake of discussion, I will try to dig a bearable coding style
> > > out of google in a few days.
> >
> > It took me a bit too long but I found that C++ coding style the most
> > bearable: http://geosoft.no/development/cppstyle.html
> >
> > regards,
> > Mathieu
> >
>
More information about the Ns-developers
mailing list