Contrarian anecdote... My M1 16" MBP has the best laptop I've ever had (and I have had quite a few). And I develop full time (lots of big Java, Go and Rust builds). No battery issues at all.
While I'd love to be able to go back to my Thinkpad Debian life, the idea of leaving the combination of a great screen, superb battery life, large developer ecosystem, and (newly, the butterfly keys were trash) ok keyboard would make me want to cry.
The butterfly keys were a brilliant system that was objectively better than the keys they replaced (and were in turn replaced by). Unfortunately, people preferred the "feel" of the old keys (myself included). They also broke constantly and expensively in the early generations (although Apple picked up the tab on this in the end).
The modern keys are orders of magnitude better for typing. The low profile butterfly keys were just not durable.
I have large hands and often bottom out on keys/keyboards. I went though three macbooks in two years at my last job. The new macbooks, I have no problem.
While I'd love to be able to go back to my Thinkpad Debian life, the idea of leaving the combination of a great screen, superb battery life, large developer ecosystem, and (newly, the butterfly keys were trash) ok keyboard would make me want to cry.
To get my linux fix, I just use Multipass.