What is the Hungarian notation?
Software programming languages have specific rules and styles of writing similar to modern languages. Computer programming consists of variable types that represent numbers, characters and strings. Hungarian notation is a style of writing in a computer program that requires the prefix of each variable to define the type of variables used. This is followed by a capitalized letter and the name of the variable.
Most computer programs use the keyboard to capture the input from the user. This captured input is divided into different types of data. Hungarian notation is a software coding style that defines a data type as a pre -name prefix. This is a formal style that contains defined formats for each type of variable with a specific abbreviation. The Hungarian notation includes a dictionary of defined types and rules of the style for software programs. If the development team selects this notationte style, it is important to ensure consistency in all future program modifications.
The software program should be easy to read and understand.This is achieved using a programming style that is consistent and intuitive. The Hungarian notation is an example of a programming style that is easy to interpret because it follows strict rules based on defined standards.
Today there are many styles for writing software programs. This includes documentation techniques, rules of enforcement and software writing styles. Hungarian notation is an example of a style or coding preference. Mixing the coding mixing in a single program is considered to be poor practice and should be avoided at all costs.
Mathematical types of data include multiple forms of numbers. Some examples include integers, long numbers and double numbers. The Hungarian notation requires that the variable be prefixed with the identifier type. As an example, any name variable for the whole number would start with a lowercase "I", which identifies the variable as an integer type.
This style of programming has several disadvantages. Defining variables based on types causes variable determination. If the system requires a change that requires a data type change, the variable name would also require adjustment. This could become a daunting task for large complex software programs.
Another disadvantage of the Hungarian record is the absence of automated rules of verification. This writing style is not controlled by a compiler, which makes it prone to abuse and errors. Developers will have to independently have to shelf a program writing style to ensure consistency.