I mean Mac OS has its place. There’s a reason so many music producers and coders choose that OS. It’s a rock solid stable approach for those use cases.
That being said, personally I would always prefer Linux but that’s mostly because I don’t do those things.
I don’t even particularly hate windows, I just like PopOS better