Well, I believe the second one is more obvious what's going on... That's all to it however, both expressions are valid and perfectly ok.