The reason those articles are suggesting swap is due to the settings I linked above that most people are missing. The kernel is not evacuating cache early enough and it gets wedged. Kernel devs even argue among themselves about this. A properly engineered system would never need swap, that much is for certain.
And if you must use it, then at least know when you need to encrypt your swap. If you have customer data in memory that is encrypted at rest, then you must encrypt your swap.
Some people use crypttab for this, but I think that is a mistake. Rather, people should have a swap volume or partition that on each system boot, you use cryptsetup with a long randomly generated password and mkswap -f, then swapon each time.
Most companies have policies about encrypting customer data. If you have swap, it plays into that policy.