I do all of my development on a 2015 Macbook Air and run a Linux virtual machine almost every day. Still plenty of battery to get me through more than a full day of work and casual browsing.
Way better than Linux on the desktop. Way easier than configuring a second operating system to run the stack. I'm not going to production on MacOS, why would I develop on it?