As others have said, it's a style issue. There's no real difference.
One thing to keep in mind, though, is to try to be consistent. If you have one block checking if value1 == 2
, try not to have the next block check value2 != 4
. The only bad style is inconsistent style.