Assignment in Conditional Expression (ACE)

Description:

Almost all C programmers did this bug, at least once in their life. It very easy to type = instead of == and not all C compilers can detect this situation. Moreover this bug is inherited by Java: the only restriction is that types of operands must be boolean.

Example:

if (x = y) {
    ...
}