John Baird
Coatesville, Pennsylvanie, États-Unis
>>>>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...
The scope? I thought that in Bill's example it distinguished between a class type and an instance of a class. No?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement