in reply to Re^2: Avoiding the == blues
in thread Avoiding the == blues

In some other languages, if takes a boolean, which is (deliberately) not what an assignment returns, so if (x = 0) doesn't get past the compiler.