Short names can be more readable than long ones.
Abbreviations shorten names, and thus can help readability.
Too-short names, however, can be utterly confusing. pbya is not a clear name (it turned out to mean post by author).
The following is a list of abbreviations I believe strike a good balance between brevity and readability. They should not usually be used by themselves, but they are good building blocks when naming things.
- "algorithm" - When choosing algorithms dynamically, this can come in handy.
- "button" - handy in GUI programming.
- "class" - For when you have a reference to an actual class, as opposed to an instance of a class. Used frequently in Python.
- "command" - useful when writing command-line programs.
- "current" - useful when dealing with ordered data structures. See also prev and next.
- "directory" - useful when doing filesystem manipulation.
- "message" - handy when writing message display or processing code.
- "option" - useful when writing command-line programs, or dealing with user preferences. Sometimes used as a top-level dir in a *nix-ish directory tree.
- "previous" - pairs well with 'next' when dealing with ordered data structures.
- "paragraph" - useful when formatting text.
- "position" - index in an ordered data structure. Clearer than the traditional 'idx'. Often a good suffix.