The reason you get Mac as and answer is because those users are the most vocal. There are some things Mac might be better for, like a UX dev. But the vast majority of companies issue Windows to their devs.
That's quite a common bias - since Mac users tend to be more enthusiastic about using Apple products they tend to be more vocal about it. The rest of the world just uses what's in front of them.