Cisco CloudCenter: Get the Hybrid IT Advantage

Hungarian Notation

Definition - What does Hungarian Notation mean?

Hungarian notation is a convention for naming and differentiating between data objects. When Hungarian notation is used, a programmer adds an indicator prefix to each object name to easily and readily identify its type.

Additional prefixes also may be used to identify the function, thread or other object feature. This is very important when a program expands into multiple modules and threads, as remembering every object's purpose is difficult if a naming convention is not used.

Techopedia explains Hungarian Notation

Most programmers add prefixes to a meaningful variable name of choice. For example, a programmer creating a Boolean variable whose function is to store a result indicating a summation operation’s success or failure might name this variable BoolSum. If many threads conduct similar functions, he may use the terms BoolSumThread1 and BoolSumThread2 as meaningful names that differentiate the variables.

Meaningful naming conventions become more important when a project is a collaborative effort by many developers. A combination of appropriate naming conventions and simple program comments are among the best practice recommendations in such cases.

Dr. Charles Simonyi, a Hungarian-American computer software executive, is credited with creating the Hungarian notation. However, when Dr. Simonyi’s colleagues read the variables he named according to his new convention, they discovered the names were not in English.

Share this:

Connect with us

Email Newsletter

Join thousands of others with our weekly newsletter

The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.