Personally, I find verbosity a good thing, but it's easy to be overly verbose too, which is a bad thing. There is a balance, and abbreviations can come into that balance too.
These are my general rules:
- Iterators can be one letter, ie.
i
, j
, k
, etc.
- Other one word variables like boolean toggles, what have you are never abbreviated, ie.
installing
, done
, etc.
- Multiple word variables and function names are candidates for abbreviation, but only if they are starting to get rediculously long (say, 20-25+ characters). Intelligent abbreviation is the key here.
function => func
for instance, but never fun
, f
, or functi