Moving that code increases readability because it removes the long if-block.
Moving that code increases readability because it removes the long if-block.