I haven’t bought a PC since my X200s ca 2008 so I’m really out of date on hardware prices, but the MacBook is just amazing. For dev / office work even the base one could be enough, swap is so fast you don’t even notice it. I have a 16/512 model and it’s more than enough.
For stationary computing, the Mac mini is awesome, under 1k with the same specs as the MacBook.