- 0
[.NET] Hungarian Convention
Do you follow the Hungarian convention with .NET code?
8 members have voted
-
1. Do you follow the Hungarian convention with .NET code?
-
Yes - for every object, every time0
-
Yes - but only with objects I access programmatically0
-
Yes - but I use something other than .NET0
-
No - .NET's type safety is enough for me4
-
No - other reason4
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
John Veteran
I'm curious to see how many .NET developers still use the Hungarian convention. I'm taking a VB.NET class (easy credits :p) and my instructor requires us to use Hungarian names on every object, no matter if we use it in code or not. Being used to C# and not seeing any Hungarian names since I started .NET, I have to stop myself in the middle of coding just to add the "int" prefix to all my integers, "str" to all my strings, "frm" to all my forms (only one), etc. Now, it was my understanding that the built in type safety of .NET meant that none of these prefixes were necessary and that the extra code was unnecessary. I mean, look at all the built in classes. None of them have Hungarian style names, except interfaces.
Link to comment
Share on other sites
8 answers to this question
Recommended Posts