You are viewing a single comment's thread. Return to all comments →
In the real world, if performance isn't affected drastically, readability (even at the expense of redundancy) is always preferred. Its especially helpful with legacy applications. So in this case, I would say that the presence of the additional if is actually a good practice.