Search code examples
vb.nethungarian-notation

Hungarian notation in VB.NET?


Our programming teacher taught us to use the Hungarian notation (e.g. intMyInteger, strMyString,...) while programming.

But I have heard somewhere this isn't actually used in the professional world. Is this true?

Edit: I just found out this is actually "Leszynski"


Solution

  • True. Modern IDE's, misunderstanding of application, issues with usage, etc.... have essentially killed it. That doesn't mean you won't find it out there potentially but I would avoid using it and get use to camel casing and pascal casing.

    Microsoft has recommendations on naming standards. They use it in .Net Framework and many follow this.

    MS also has the All-In-One Code Framework site that has documentation and samples to help further this thought and other best practices (from MS's point of view).