It's also probably the number 1 dev environment for a ton of use cases so you get support and network efforts in the ecosystem. Are you a fullstack dev? Then OSX is for you. You have all your IDE, servers, Chrome, etc up and running very quickly.
Both linux and macos have different strengths and weaknesses, and one is not a fully capable replacement of another, not even just for the cli/daemon stuff.
I'm writing this on a rMBP - and there are still reasons to ssh into a centos box.
There is a ton of good software for macOS that isn't available on Linux.
[1] - /usr/lib/libpq.dylib is especially annoying offender. Most dylibs are at least fat ones, but this one is x86_64 only. That means, when you want to build a fat binary of some libpq client, and it is being linked against system one, the build will fail. That includes building i386/fat version of postgresql itself.