https://serverfault.com/a/684800/2321 indicates it is "not recommended" (at least on Linux), and I have always setup at least
some swap on every machine I have had since moving off DOS in the early 90s
Is there ever a good reason to not enable it (on any OS)?
For a good article on why this is true for Linux: https://chrisdown.name/2018/01/02/in-defence-of-swap.html
I believe that most operating systems are going to make use of memory in a similar manner.
With that said, I'll turn off swap on devices that have unreliable storage. (Anything using an SD card)