Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class naming convention
Message
De
13/09/2007 13:18:34
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
13/09/2007 12:51:25
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
01253829
Message ID:
01254162
Vues:
22
Nice... now I don't feel so bad for my "m_" breach of MS's best practices.

>Alan,
>
>We don't use "My" or company intials, but we *do* use something a little quirky. If you want any ideas, I'd suggest something like "Base" (as in BaseTextBox, BaseComboBox, etc). Ours are all prefaced by "KA" ... it's a long story as to where we came up with that, but let's just say it stands for "Kick A**". <g>
>
>~~Bonnie
>
>
>
>
>>Hello Viv, thanks for the reply.
>>
>>>In practice the MS suggestions are probably no better than other schemes but at least these are the conventions followed by the framework classes themselves and by most MS code examples.....
>>
>>While I have seen many examples of class naming, there are surprisingly few regarding subclassing the base controls (apart from with the 'My' prefix). I guess I'll have to roll-my-own naming which sticks as close as possible to the MSFT standards.
>>
>>Regards,
>>Alan
Very fitting: http://xkcd.com/386/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform