Yes, it's the preferred style since it makes it clearer what the expected input for the function is.