[Ns-developers] new ns-2 software contributions

Qihe Wang qwang at ececs.uc.edu
Tue Apr 5 14:01:12 PDT 2005


Mathieu,

Thanks for the link.  The 2-space indent looks horrible to me.  I prefer
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