The need for a separate /home partition and swap depends on your usage scenario.
A separate /home partition is a good idea when you have multiple users accessing it via samba or other type of file shares, to prevent them from filling up the root partition (which can cause other issues). On single-user systems with limited space, such as my work laptop, I just go with a big root disk; if it gets filled, it affects noone but me, and I'd rather have the freedom to one day download 100GB of data to my Downloads folder under /home, and the other day to fetch 100GB of docker containers which go under /var. On a server, I might put all of these (/home, /var, /var/lib/docker) on separate partitions for isolation purposes.
The swap partition is often replaced by a swap file nowadays. Apart from swapping/paging, the swap is also used for hibernation on desktop/laptop installations. A swap file has less performance than a partition, but that is hardly noticeable in most installations, and using a swap file gives you more freedom to use more or less swap when required instead of dedicating a part of your hard disk to it.
But do you actually need swap? If you have enough memory, you can do without it. Just be aware that the system to kill processes when/if it does get full. You can use the swapon/swapoff commands to turn on and off swap usage, if you want to try it out.
It should be noted that some software (for example Kubernetes) manages memory on their own and explicitly doesn't want swap space - it won't start if it is available.
/home
partition protects your personal data in case something goes wrong with your main installation. I've been using Linux as my primary desktop for 20 years and always keep/home
separate.