I use desktops exclusively at home and work. Far too many advantages in cost, performance, convenience, expandability, etc. over a laptop. Even a desktop with the same components as a laptop would have more productivity for me since it forces me to be in a room without distractions with a desktop. If I want portability, I use my phone.
My work is shifting from desktops to a laptop with far less memory, slower processors, a miniscule screen, and wi-fi which is about 1% of the speed of our wired internet. Yeah! I can't wait to spend 90% of my day scrolling up/down to see what other parts of the code is doing while programming.