int xx = 0;
int yy = xx + 1;
In the above example, the names xx
and yy
are not meaningful but in the following example, the names size
and maxSize
will carry a sense of the corresponding variable's usage in the code. The reader of the code can understand what is going to be stored in the variable just by reading the name of it.
int size = 0;