Oh, this kind of discussion is totally up my alley. :)
Definitely if you're looking for raw power and performance, a desktop is your best pick. Not only will it handle better than a laptop at heavy tasks, but it is also upgradable as @Dev_J mentioned above.
However, more so in 2017 than ever...