And that could be the beginning of the end. Yes, it might be slow; however, once devs start migrating to other platforms, it could become a serious hit on Apple.
I've played around with Linux (Elementary and Fedora) and it's usable for most of the Ruby and Python guys, but it's just not the same. Not the same attention to detail (even with macOS shortcomings) and not the same apps.
Windows 10, similar thing. It's getting better, but it still feels overly complicated and kludgy.
macOS isn't the be all end all - it still has its issues, but I don't see anyone but the hardcore crowd defecting anytime soon. I think a lot would have to change at Apple in order for this to happen. Like, several cpu series behind or just blatant massive missteps. (Some would argue these have happened, but I don't think so yet.)