all depends on what are you going to use them for
desktops are cheaper than laptops for better configuration and are easily upgraded you can add whatever you want while it's harder for laptops
but laptops take less place and you can take them wherever you want (like at home to continue the work you didn't finish and work all weekend

)
personnaly i'll go for the desktops they have a better performance and and break less than laptops