Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter Naming Guidlines Question
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00951421
Message ID:
00951425
Vues:
6
Shawn,

I've personally use Hungarian for years, but that's just me. I am aware that some sources discourage the use of it.

A former co-worker of mine wrote an article in FoxTalk years ago, called 'A cRose by any other cName"...he argued things like 'the FONT property is fine by itself, you don't see it called NFONT' Food for thought (for myself as well)


If you look at the parameter statement...(string cString, integer iInt)....the data type tells you what it is. Of course, on subsequent lines of code, it might not be so obvious. However, even without the prefix, a combination of the name of the variable and the operation on it will often indicate what it is.

My own two cents is that it's more important to document and follow (and be able to clearly explain) a convention/style.

Kevin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform