If you have to do a demo in a different room, it's a pain. Your best bet is usually to use another laptop. Same thing if you want to have a call in a quiet place and want to check emails/reference during the call.
Work from home is also easier, you don't have to use 2 computers or carry your tower (though currently that's viable).
At work, I'm on a dock... at home, I'm on a 4k-kvm switch... so I'm not really using the laptop but for a lighter computers... Just got bumped to 32gb ram, which is most of the laptop bottleneck. Though my personal system (r9 3950x) is much faster than the laptop (i7 8550u) both on 1tb nvme.
My old computer was over 5yo at upgrade, with a mid-cycle upgrade of a couple components, likely this will be the same, though I don't think I will ever go RGB again.
I did get hdmi adapters for my pi4's, but haven't actually tried them yet. May need different adapters/cables if you're going to/from mini-dp or another interface. back of the switch looks like USB-B Female (standard USB cable, not 3) and HDMI Female.
I've only been using it for about 4 weeks, but so far working well.
KVM (comes with 2 cable sets): https://www.amazon.com/gp/product/B07F6XFVZ3/
Extra 2 cable sets: https://www.amazon.com/gp/product/B075FRFXNX/
Micro HDMI to HDMI (for pi4): https://www.amazon.com/gp/product/B00JDRHQ58/
I have two sofas, a small desk and a bigger one in two different rooms, a balcony, a table in the kitchen and one in the garden. I frequently switch and move between all of those, which helps me a lot in getting out of coding slumps and refocus. I was so happy to give up my static one desk multimonitor setup at the office for a nimble 13" laptop work from home situation.
To each his own.
Not very interesting discussion to be had in this direction.
What I've found is that since having a desktop and a dedicated desk and office in my house, when I leave the room I don't bring work with me. I also don't have push notifications enabled on my phone, including email. When I go out, I enjoy other things and then when I come back to my desk, I am much more focused and ready to concentrate on work.
I think this is probably a problem because I also play games on it so the room sends very mixed messages to my brain.
I help with a small business so have to use my PC for that. With my day job I have a laptop provided and do move around the house to get a mental disconnect and help me focus on some tasks. The problem is it's not a great device for stuff like in-depth research, I really want a big screen for that, so usually have to use the PC and get distracted.
I just unplugged my laptop from my standing desk and went to lay down for my postprandial chill session. I'm going to get some work done as soon as I'm done faffing about on HN (whomst among us...) and then I'll probably plug back in again.
It's just easier to do it this way rather than synchronize state between a desktop and laptop. One less thing to own, also.
Without going into people who are often on the road, many folks I know like working on the same computer at the office and at home.
It's usually easier to carry a laptop than a desktop. Even though there are many very small desktops nowadays (see HP's elitedesk mini - though it looks like a laptop without an screen, so I'm not sure it's that much more powerful) the laptop has usually fewer cables to unplug so it's generally less of a pain.
Another angle is that for many people a laptop has enough power for the activities they do and being portable is a real plus. I'm typing this on a 2013 MBP in my bed. This laptop might be slow compared to a modern mid-range desktop, but it's not tethered to a fixed spot. When I need to do serious work, I can plug a 4K screen and external keyboard and have the desktop experience.
On the rare occasion when I need a lot of power for some task, I'll usually fire up some outrageous ec2 instance for an hour or two. It will also have better network connectivity, which allows me to work comfortable over my parents' DSL line too.
I guess it all comes down to usage patterns. If you always use your computer on the same desk and never have the need to move it, I guess a desktop is a more effective use of funds. But many people seem to enjoy being able to carry the computer on a sofa, in the kitchen, etc.
They got rid of the desktop PCs and gave us all crappy laptops (they took a few years to catch up in power to what we had) and the argument was they could not ensure a secure environment on random home PCs. They were probably angling towards a hot-desk setup too but most people have a dedicated desk still.
I definitely preferred the old setup. I just struggle do any meaningful work at all on a laptop, I need to plug it in to a screen but I can't dedicate that space so normally just put up with it rather than unplug my home setup.
They do provide docks in the office but unfortunately a few different generations of HP laptops are around so you might need to search for the right one.