In your case, the most important will be the RAM in my opinion, if you take a laptop, be sure to get at least 16 GB or RAM for your VMs, tabs for surfing, etc. It will be fine for you.
If you are willing to sacrifice mobility for better performances, go for a desktop.
You can get much better...