If you would like to develop outside of the Apple ecosystem, find Windows clunky, and dislike fiddling with Linux to get it to work on arbitrary hardware, consider the X1 with Fedora. I bought one at the recent Black Friday sale: $1,700 for a 12 Gen i7-1280P, 32GB, 512GB SSD. I love this machine.
https://www.lenovo.com/us/en/p/laptops/thinkpad/thinkpadx1/thinkpad-x1-carbon-gen-10-(14-inch-intel)/21cbcto1wwus2
Physically, it's fantastic. Hats off to the engineers and designers for investing in the tactile experience. They made it lightweight but simultaneously substantial-feeling via rigidity and weight distribution. I now understand why Thinkpad keyboards are so well-regarded. Its trackpad matches Apple's, which is the highest praise I can give. The brilliant screen has an aspect ratio that's as good for building things as for consuming content. And battery life supports hours of binging netflix after compiling a bunch of code.
I've been even more pleasantly surprised by the software experience. This is a Linux workstation that "just works." Close the lid, it goes on standby - open, and it resumes instantly. Plug it into a 100Mhz ultrawide monitor via a lightning cable, and not only does it seamlessly extend the desktop at native refresh rates, but it also mounts all the devices that are connected via the monitor's integrated USB hub. I'm able to log in via my bluetooth kinesis keyboard consistently, without hassle. Updates are fast, easy, and tested on the exact hardware I'm using. I've been using it as my daily driver for a week and I've yet to dive down a rabbit-hole of outdated forum advice to get something basic to work.
Finally, and more subjectively, Fedora's out-of-the-box experience handily outshines both OSX and Windows. Window-snapping, global search, software installation via a package manager, resource efficiency, containerization support, configuration, etc.
I wanted to share here for any others who have tried, and failed, to find a legitimately better-than-Macbook development machine for the past few years.
I develop software on it no problems at all. We are way past targeting one platform. Linux can be the destination for sure but like hell I'm going to do the dev work on it. Years of attempting to run Linux on a laptop or desktop have left a very unpleasant flavour in my mouth. It might work today but it probably won't tomorrow and I'm getting too old to waste my time futzing. It has to work right now, properly, today with no risks.
Note: I have a mandated Dell Precision 7670 for some work, one of the most ridiculously stupid computers ever made and far more expensive in this config than a high end MBP M1 Max and it's absolutely a pile of shit from a hardware and software perspective. If you ran Linux on it, it'd be worse than if it ran windows on it, which is already terrible.