Having used MacBook Pro 14" with an M1 Max for ~6 months, I'd really wonder which developer submits themselves to such a glare-emitting screen and crappy keyboard (and potentially imprinting their palms/wrists on the sharp front edge), if you can get a Thinkpad X1 Carbon for much less?
Sure, performance was slightly better than the latest X1 Carbon, and battery life was significantly better, but if I am undocked for a prolonged period, that screen and keyboard make it very unpleasant to use. If I needed more performance, I'd go for a desktop or a workstation-type Thinkpad laptop, though I'd lose on the portability (though MacBook Pros — including 14" — are heavy as well).