when creating raid array, is it better to do it in partition or whole disk?

There are many tutorials out on how to create a raid array with mdadm and some of them differ in this but I don’t really see the difference.