TIL (Today I Learned)
Hungarian notation
Hungarian notation is an identifier naming convention in computer programming in which the name of a variable or function indicates its intention or kind, or in some dialects, its type.
bBusy
: booleanchInitial
: charcApples
: count of itemsdwLightYears
: double word (Systems)fBusy
: flag (or float)nSize
: integer (Systems) or count (Apps)iSize
: integer (Systems) or index (Apps)fpPrice
: floating-pointdecPrice
: decimaldb[Pi](https://en.wikipedia.org/wiki/Pi "Pi")
: double (Systems)p[Foo](https://en.wikipedia.org/wiki/Foo "Foo")
: pointerrgStudents
: array, or rangeszLastName
: zero-terminated stringu16Identifier
: unsigned 16-bit integer (Systems)u32Identifier
: unsigned 32-bit integer (Systems)stTime
: clock time structurefnFunction
: function name
Hungarian notation - Wikipedia Naming Variables In CSS
2023-12-16, #programming #variables