Hungarian notation
Home > Windows Definitions - Hungarian notation
SearchWinIT.com Definitions (Powered by WhatIs.com)
EMAIL THIS
LOOK UP TECH TERMS Powered by: WhatIs.com
Search listings for thousands of IT terms:
Browse tech terms alphabetically:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #

Hungarian notation



Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

DEFINITION - In programming, Hungarian notation is a set of conventions for naming data objects in which a programmer adds a meaningful prefix of one or several characters to the object's name to identify what type of object it is. The conventions suggest, among other things, that programmers choose prefixes that are suggestive of the type of object named and are easy to remember. Consistency in naming is very important.

In one programmer's version of Hungarian notation, a form might have the prefix "frm" and, if the form name is "Switchboard," the extended name would be "frmSwitchboard." This makes it clear that the reference is to a form called "Switchboard," and not to some other type of object with the same name, such as a label (which might be called "lblSwitchboard"). The conventions were developed to define naming procedures that would help programmers create prefixes that would be easy to remember and would make objects easy to identify, both for themselves and for other programmers that might work with their code in the future.

Dr. Charles Simonyi developed the convention at Microsoft, where it is used in the Windows source code. Microsoft says it's known as Hungarian notation because the prefixes make the names seem to be non-English and also because Simonyi is from Hungary. Since Microsoft uses it extensively, many programmers outside Microsoft use it. Charles Petzold's use of Hungarian notation in his book, "Programming Windows," also has influenced many Windows programmers.

LAST UPDATED: 28 Dec 2007

Read more about Hungarian notation:
- Charles Simonyi explains Hungarian Notation.
- Greg Legowski provides a Guide to Hungarian Notation .
- SearchVB.com has resources for this and other Visual Basic programming terms.


Do you have something to add to this definition? Let us know.
Send your comments to techterms@whatis.com


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   






HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT DownloadsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 1999 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts