Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameter Naming Guidlines Question
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Parameter Naming Guidlines Question
Miscellaneous
Thread ID:
00951421
Message ID:
00951421
Views:
38
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/
Next
Reply
Map
View

Click here to load this message in the networking platform