Also don't forget calibrated screens, great speakers, long-life (you can use one for a 7-8 years without even trying), and durable keyboards which doesn't become smeared wear-fests which defaces itself within a single heavy development session.
I always run Linux (Debian primarily) on my desktops and servers with a zealot-ish dedication, but what Mac and macOS brings to the table as a portable machine is irreplaceable with anything else.
Even a top end ThinkPad with a well groomed Linux distribution can't come close, sorry.
> long-life
> and durable keyboards
It wasn't that long ago they had terrible keyboard lifespans which could be a death knell for the laptop, and overheating CPUs which limited performance way behind spec. They've come far in recent years, and I certainly wouldn't be sad if it was my main machine yet I don't expect them to be an outlier forever.
In some dimension Apple (and any serious manufacturer) is always going to be ahead - and they certainly are in non-gaming portable CPU/GPU combos right now. Alas, they aren't ahead in many other dimensions; my Fedora X1 Carbon is my strong preference over my M4 macbook pro and a large part of that is the basic usability of the system and window manager (sway), which is something Apple will never match until we meaningfully switch interaction paradigms.