There's exactly the same in KamilLelonek pull request. I think that his version is more redable. Again the pull request order gives you the reason why you didn't use that