UCVN - Use Conventional Variable Names

One-character local variable or parameter names should be avoided, except for temporary and looping variables, or where a variable holds an undistinguished value of a type. Conventional one-character names are:

b for a byte
c for a char
d for a double
e for an Exception
f for a float
i, j, k for integers
l for a long
o for an Object
s for a String

Local variable or parameter names that consist of only two or three uppercase letters should be avoided to avoid potential conflicts with the initial country codes and domain names that are the first component of unique package names.

Wrong

void func (double d) {
    int i;
    Object o;
    Exception e;
    char s;
    Object f;
    String k;
    Object UK;
}

Tip: Give conventional names to all local variables.

Right

void func (double d) {
    int i;
    Object o;
    Exception e;
    char c;
    Object o;
    String s;
    Object o1;
}