I used to use a swap partition, but then if you get the partition size wrong you're lumbered with it. Why wouldn't you use a file.
At one point in the past I used the default (or recommended) /boot size and got stuck a couple of years later juggling at updates to fit the boot files into the partition. I just use a monolithic partition per OS per disk now and swap files within that. Is that not good practice (for home systems)?