This video goes over some common things new programmers do with if statements. In most cases, it is not strictly wrong, but there is a simpler (and therefore less error-prone) way to do things
0:08 - Creating unnecessary if blocks
1:09 - Using unnecessary variables
1:47 - Unnecessarily duplicating code