I’m not so much into the religious OS wars. I started on Windows but more recently spend almost all my time in Linux (deployment) and OSX (development).
There are really only 2 “styles” of OS today — Unix, and Windows. Everything from mobile phones, to a vast number of IOT devices (including those based on RaspberryPi and the like), to high-end high-security massive servers, to every Mac, to every Linux machine is effectively Unix. Microsoft products use Windows.
Spending your time learning unix (typically either Linux or MacOSX) will have a far greater pay-off with the kind of systems you can target than learning Windows.
The two biggest factors for me are: time spent doing work, and the options of platforms and languages I can target.
Time spend doing work:
Surprisingly the highest proportion of my time spent not working, rather on configuration and “fixing” issues was in Windows. The only exception was using linux on an IBM laptop (about 15 years ago) because of BIOS weirdness. OSX rarely needs to be tinkered with to get things done.
Windows 10 is apparently moving in the right direction — I run Window 10 alongside MacOS on my laptop, but I don’t develop on it so I can’t offer any real experience.
Bottom line, I spend significantly less time tinkering with my configuration or trying to get things to work, on MacOS (including running Windows 10 and Liunux under Mac with VMWare Fusion) that I did just running Windows.
Options and Platforms:
If you ever plan to target iOS, tvOS, watchOS, or OSX then a Mac is by far your best option. XCode takes care of all your toolchains seemlessly. Trying to target those platform without a Mac is way to clunky at best, and impossible at worst.
If you want to cover all your bases the only machine that can run MacOS, Windows, and Linux (simutaenously and seemlessly) is one of Apple’s machines running software like VMWare Fusion, or Parallels.
If your targets are typically Windows and Andriod then anything will do, unless you have very high end requirements — video encoding, 3D rendering, games development, etc. Then you really want specific hardware and even the highest spec mobile CPU or GPU, hardly compares with their Desktop or Server grade versions.
Only issue I have with the Apple laptops are their choice of screen cards — somewhat underpowered. This means targeting PC, PS4 or XBox games can feel a bit clunky — running the unreal engine for example.
At least Apple seems to have started listening to their Pro market (which I like to think includes us developers). Their lastest laptops have significantly better GPUs so perhaps as time goes by this also won’t be an issue.
Languages is less of an issue — you can pretty much compile any modern language on Windows, MacOS, or Linux.
If you’re slightly crazy (like me) and love some of the more esoteric languages for large scale, and awesomely maintainable systems (like Smalltalk for example) then MacOS has become your best bet.
That’s my 2c