What Is Hungarian Notation?
When attempting to manage an extensive programme, keeping track of all the different objects contained within the program is indispensable. If you do, you'll have bloated code and repetitive repetition if you clean it up. If you do that, you won't have either of those problems. By adding several prefixes to a noun, you may determine not just the function of an item but also any other aspect of its makeup. I would use the prefix "M_" to indicate that this particular function is at the module level, and I might use the prefix "T_" to suggest that this specific function is at the thread level, for example, if I were developing a programme that might extend into several modules and threads. In this case, I would use the prefix "M_" to indicate that the function is at the module level, and I might use the prefix "T_" to suggest that the position is at the thread level. As we have to keep track of the purpose of each object while writing code for it, this helps me remember what each thing does as my programme develops into numerous modules and threads. We have to keep track of the purpose of each object while writing code for it. This is because when my software extends into numerous modules and threads, I must remember what each thing is responsible for doing. The Hungarian Notation is a naming convention that is used to differentiate between various kinds of data elements. It is named after the Hungarian language. When working with Hungarian Notation, a programmer will add an indicator prefix to the beginning of each object name. This allows the programmer to quickly and readily discern the type of object being worked with. For example, if you wanted to write "Hello World!" using the Notation in Hungary, you would refer to it as "szHw." Because "Hello World!" is a string, this result is expected. The letter S may stand for "string," while the letter H might be an abbreviation for "hello," and the letter W could be an abbreviation for "world." Due to this, it is easy to identify the type of data you are working with at any particular time.
Related Terms by Software Development
Join Our Newsletter
Get weekly news, engaging articles, and career tips-all free!
By subscribing to our newsletter, you're cool with our terms and conditions and agree to our Privacy Policy.

































