Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Errrhhh ..... CSharp or VB
Message
De
23/09/2011 10:35:49
John Baird
Coatesville, Pennsylvanie, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01524423
Message ID:
01524470
Vues:
96
>>>>>Are you using naming that reuses identifiers by changing case? Have you run out of all possible alphanumeric combinations or what?
>>>
>>>I do this routinely to simplify remembering form and report names:
>>>FrmCustomer frmCustomer = new FrmCustomer();
>>>
>>>Is that frowned upon?
>>
>>Nope, that's precisely what is best practice in naming conventions... You can tell immediately from the casing what the scope of the variable is...
>
>Which god declared that the best practice? The same one that declared rpn the best practice? Or the one who declared CamelCase the best practice?


Look for .net naming conventions. There are a number of documents and they all say basically the same thing. It looks strange, but is very comfortable after using it for a while.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform