mjs082969
asked on
Object Naming Conventions in VB .NET 2005
I have just read some articles which advise abandoning the use of Hungarian notation in VB .NET. How are most people handling this? I kind of though it was beneficial, particularly for UI objects ('cmd' for command buttons, etc) although I do recall some situations where things got out of hand.
I am really just looking for some input, as to other developer's experience with migrating away from (or even quitting cold turkey) Hungarian notation in .NET
Although this is kind of an 'easy' question, only someone with a great deal of experience will be able to contribute.... so I will assign a high point value and split the points between primary contributors.
Thanks In Advance,
- Michael
I am really just looking for some input, as to other developer's experience with migrating away from (or even quitting cold turkey) Hungarian notation in .NET
Although this is kind of an 'easy' question, only someone with a great deal of experience will be able to contribute.... so I will assign a high point value and split the points between primary contributors.
Thanks In Advance,
- Michael
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thats right hes, but the most important for me (and I dont leave without them) are the comments. I place them all around my code.
:)
Same here.
Same here.
ASKER
It was actually Microsoft documentation (
http://msdn2.microsoft.com/en-us/library/h0eyck3s(VS.71).aspx
) that advised against using Hungarian. But perhaps I need to read further. The documentation I have read says (so far) to avoid using Hungarian for events, properties, methods, and parameters.
Personally, I think it makes sense to use Hungarian for UI objects such as forms and text boxes. But I have also seen the nastiness that overzealous use of Hungarian can create. Maybe this is the point that Microsoft is attempting to get across.
http://msdn2.microsoft.com/en-us/library/h0eyck3s(VS.71).aspx
) that advised against using Hungarian. But perhaps I need to read further. The documentation I have read says (so far) to avoid using Hungarian for events, properties, methods, and parameters.
Personally, I think it makes sense to use Hungarian for UI objects such as forms and text boxes. But I have also seen the nastiness that overzealous use of Hungarian can create. Maybe this is the point that Microsoft is attempting to get across.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.