Good: if (x > Math.sqrt(y)) Bad: if(x>Math.sqrt (y))
Good: int[] numbers Bad: int numbers[]
Good: h = HASH_MULTIPLIER * h + val[off]; Bad: h = 31 * h + val[off];