I immediately picked up on this, too. From the code I've seen, novice programmers tend to do this a lot more often than someone who has been programming for a while.
On a similar note, another thing novice programmers do often is rewrite min and max using if-else.