Quote:
|
Originally Posted by Booooze
I think that's the way professionals do it as well don't they?
|
No, not always the case. Although, it is good practice, in my experience I have rarely come across naming conventions like those, outside of an education environment.
However, I have came across names like iv2, qrz, bobFox, fred, asdfw2etgha, a, aa, aaa, aaaa, aaaaa and so on. Obviously, these programmers didn't want anyone to maintain their code, giving them a false sense of job security (they were wrong, as the code was rewritten).
More often than not, the variables are named in such a way that you know their purpose, not necessarily their type. IE: thermalIndex, heatSignature, balance, firstName, zipCode, etc. The type would normally be derived from how the variable is utilized within its code block in relation to other lines.