[Ns-developers] How to be conform to coding style
Mirko Banchi
mk.banchi at gmail.com
Sun Jun 7 04:26:21 PDT 2009
Il giorno 07/giu/09, alle ore 12:40, Mathieu Lacage ha scritto:
> 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
>
It's not too late...for now i've made only a few changes. It's not too
painful to use that convention.
Mirko
--
Mirko Banchi
e-mail: mk.banchi at gmail.com
e-mail: mk.banchi at virgilio.it
id-jabber: mk.banchi at jabber.org
PGP key fingerprint:
308F BFB1 4E67 2522 C88E
DC69 7631 52ED 32A5 6456
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2502 bytes
Desc: not available
Url : http://mailman.isi.edu/pipermail/ns-developers/attachments/20090607/2f2e8114/smime.bin
More information about the Ns-developers
mailing list