IMO if money isn't an object, OS X is a better call when it comes to laptops. If money is tight, going for a Linux box is almost as good. Linux on desktops - as in, not a laptop - has worked pretty much flawlessly for me for >10 years. Not much else to say there. If desktop or server, this shouldn't be a discussion. As far as laptops go, I've just had better experiences with macbooks. Linux on a laptop is still 100%…
You aren't doing a fair comparasion. You are comparing macOS on a Macbook with Linux on a generic laptop. I have a wonderful, hassle-free experience with Fedora 25 on a ThinkPad X240.
For anyone else, if you want Linux on a laptop without having to do additional work to enable hardware support, use Ubuntu or Fedora on a ThinkPad from X, T or W series.