Hungarian notation is a convention for naming and differentiating among facts gadgets. When Hungarian notation is used, a Programmer provides a hallmark prefix to every Object call to without difficulty and quite simply perceive its type.
Additional prefixes also may be used to Discover the Function, Thread or different object Characteristic. This may be very critical while a Software expands into multiple Modules and threads, as remembering each object’s purpose is difficult if a naming conference isn't used.
Most programmers Upload prefixes to a sigNiFicant Variable call of desire. For example, a programmer growing a Boolean variable whose function is to save a result indicating a summation operation’s achievement or Failure might name this variable BoolSum. If many threads conduct similar features, he might also use the phrases BoolSumThread1 and BoolSumThread2 as significant names that differentiate the variables.
Meaningful Naming Conventions end up more critical when a mission is a collaborative effort by way of many Builders. A aggregate of appropriate naming conventions and easy software remarks are most of the Exceptional exercise tips in such Instances.
Dr. Charles Simonyi, a Hungarian-American pc Software Program executive, is credited with growing the Hungarian notation. However, whilst Dr. Simonyi’s colleagues study the variables he named in step with his new convention, they found the names have been no longer in English.
Your Score to Hungarian Notation article
Score: 5 out of 5 (1 voters)
Be the first to comment on the Hungarian Notation
tech-term.com© 2023 All rights reserved