[Ns-developers] How to be conform to coding style

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Sun Jun 7 03:40:11 PDT 2009


On Sun, 2009-06-07 at 01:35 +0200, Mirko Banchi wrote:
> >> MgtAddBaRequestHeader
> >> MgtAddBaResponseHeader
> >> MgtAddDelBaHeader
> >> or other?
> >> Any advice is very useful!
> >> Sorry for this very little question, but this is very important in  
> >> order to avoid a large number of future changes.
> >
> > I'd probably choose AddBA, DelBA, but I don't care strongly.
> >
> > - Tom
> 
> 
> Ok, i'll choose

As usual with coding style, there is no strict rule but the guideline is
that we are trying to use MixedCaps to outline word boundaries where the
definition of 'word' is, of course, subject to interpretation but, we
expect you to use good taste in your interpretation.

It's obviously too late but I would have chosen AddBa: so far, we have
consistently been trying to avoid using all caps ACRONYMS and have
spelled them as Acronyms instead to improve the likelyhood of detecting
'word' boundaries.

Mathieu



More information about the Ns-developers mailing list