Theres nothing wrong with the coding it just so happens to be an "alternative".

Just like,

if (a > b) and if (b < a) are the same thing.

Eamonn.