[Ns-developers] How to be conform to coding style
Tom Henderson
tomh at tomh.org
Sun Jun 7 06:06:10 PDT 2009
Mathieu Lacage wrote:
> 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.
Hi, I think you are right that the current coding style guide specifies
this choice for acronyms-- I will add this as another example (e.g.
"even two-word acronyms such as BlockAck (BA) or Internet Protocol (IP)
should be included as Ba or Ip, respectively").
Tom
More information about the Ns-developers
mailing list