A swap file is easier to resize later, a swap partition is easier to share with a different OS install. Further, I think a swap partition is required if you want to use hibernation.

Now it appears...