the point is that the if is redundant i get annoyed when people do that when the result of the conditional statement is determined at compile time rather then run time.
Agreed, but most code like that is only used for tutorials, rather than real life applications.