Indeed. The only time I use hungarian notation are on the following situations:
- Global variables
- If two variables are of different data types but can have the same name (see example).
Example:
Code:
// Let's say we are parsing some vectors from a file:
new Float:vec[3];
new szVec[3][5]; // We use as the buffer.
parse(text, szVec[0], 4, szVec[1], 4, szVec[2], 4);
new i;
for (i = 0; i < 3; i++)
vec[i] = str_to_float(szVec[i]);
__________________