Apps Hungarian for modern Windows API projects?

73 Views Asked by At

Since answers to similar questions only go as far as to make the distinction between apps and systems Hungarian - is there any comprehensive list of apps Hungarian prefixes that could be used to maintain consistency between Windows API identifiers and the rest of my code?

1

There are 1 best solutions below

3
On

Hungarian notation is the practice of adding prefixes to the names of variables, to give additional information about the variable. The C++ Core Guidelines discourage prefix notation (for example, Hungarian notation).Internally, the Windows team no longer uses it. But its use remains in samples and documentation.

The notation was conceived to allow you to know the type of the variable, but modern environments have seriously mitigated the need for this. It means that you can avoid having to do this.However, as for whether using Hungarian notation in your code depends on yourself.

For more details about comprehensive list of apps Hungarian prefixes, I suggest you could refer to:Coding Style Conventions ,Windows Coding Conventions and Hungarian Notation