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
Titre:
Parameter Naming Guidlines Question
Divers
Thread ID:
00951421
Message ID:
00951421
Vues:
39
I was doing some general reading and came across a document for naming guidelines after I read through it a little I came across the following statement and wanted to get more opinions on this.

What I came across is : Do not prefix parameter names with Hungarian type notation.

What do the rest of you do?

I like to prefix all my Parameters in the method with the following style :
I find this easier to read because I know it is a parameter and it is int.
private void Test(string sparTest, int iparTest2)
{
  int iTestInt = iParTest2
}
VERSUS
private void Test(string Test, int Test2)
{
  int iTestInt = Test2
}
Agree / Disagree!
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform