John Baird
Coatesville, Pennsylvania, United States
>IMHO, Hungarian Prefixes are akward in SQL and in C#
>
>They seem to be good in VFP and I also like to have 3 letter abbreviation for GUI elements, but not sure I have really good for all elements in ASP.NET or WinForms.
>
>If someone can post these, that will be good.
>
And counter to best-practices. The name of the variable tells you the type if you name it correctly.... FirstName will be a string, not an integer....no need for strFirstName;
counter, index, etc.... will be integers; not strings.....
Hungarian notation is a remnant of non-typed languages like VFP where you never know what variable type something is going to hold....however, with strong typing it is not needed.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only