OSX + Homebrew has given me the least issues, things generally just work - so for getting work done, definitely Mac.
Linux I've worked on just about every distro from Gentoo, to Arch, to Ubuntu, Debian, Fedora, CentOS, Mint, CoreOS, Suse, Mandrake, etc etc etc - some things work great, other things always requires tinkering for it to continue working - if it's not a sound driver, then it's a network driver or a graphics driver that requires tinkering. So far in my 15 years of Linux, I've never had any single distro where everything just worked flawlessly - it has certainly gotten a lot better, but it's still not at the level OSX with Homebrew is; maybe Linux needs a Homebrew as well to unify the way things are installed across all the gazillion distros.
Windows is just horrible to dev on, I don't know how anyone can dev on it.