Top "Hungarian-notation" questions

Hungarian notation is a language-independent naming convention in which an identifier's prefix indicates its type.

Why shouldn't I use "Hungarian Notation"?

I know what Hungarian refers to - giving information about a variable, parameter, or type as a prefix to its …

language-agnostic naming-conventions hungarian-notation
What does `m_` variable prefix mean?

I often see m_ prefix used for variables (m_World,m_Sprites,...) in tutorials, examples and other code mainly related …

hungarian-notation
Where does the k prefix for constants come from?

it's a pretty common practice that constants are prefixed with k (e.g. k_pi). But what does the k …

c++ objective-c c prefix hungarian-notation
Why shouldn't I prefix my fields?

I've never been a fan of Hungarian notation, I've always found it pretty useless unless you're doing some really low …

c# field naming-conventions hungarian-notation
How to fix violation of StyleCop SA1305 (Hungarian)

My code contains a variable named "m_d3dDevice". StyleCop complains about this name: SA1305: The variable name 'm_d3…

stylecop hungarian-notation
What does the 'k' prefix indicate in Apple's APIs?

I've run across many examples of Core Foundation variables named k + someVariableNameHere or k + APILibraryName(2Char) + someVariableNameHere. What does this …

objective-c hungarian-notation
Class names that start with C

The MFC has all class names that start with C. For example, CFile and CGdiObject. Has anyone seen it used …

c++ visual-c++ mfc hungarian-notation