I have the entire gamut of machines here, Macs (needed for iOS development), Chromebooks, Linux boxes and Windows machines. I tend to use a Windows machine as my go to system - but they are all good. The idea that Microsoft makes less secure software from Apple in this day and age is absurd - especially after the "it's not a problem with iCloud, it is a targeted attack, but we will enhance iCloud security in the future anyway" debacle.
On the plus side, I understand that Microsoft's software is so insecure that it can be used to view all the nudes you create and store with Apple devices...
Specifically about Windows 7, Windows 8, 8.1 and 9 - 8 and especially 8.1 is brilliant with the right hardware - I absolutely hate going back to the Mac and hitting the screen when I go to it - not having a touch screen in 2014 is absurd (until Apple comes with in 2016 and it is revolutionary, like big phones are now). Windows 8 and to a lesser level 8.1 is not as good with older, non-touch hardware. Hopefully they will fix that in 9. They have other things they need to update for Windows 9 - update the UI to look similar between Desktop and Metro, allow hosting of Metro Apps in Desktop windows (they already have the technology if you actually use the Visual Studio debugger in windows mode.
As for the Macbook Pro lasting longer than a Windows machine - one suspects that it cost initially 2 to 3 times more than that machine. Thinkpads - which cost as much as Apple notebooks are just as long lasting if not more so in my experience - and I have had quite a bit of them (as well as Apple products).
From a technical stand point - I would argue that Microsoft's OS is more advanced than MacOS - despite the fact that unlike Apple's offering it needs to adhere to thousands of different hardware configurations compared to dozens for Apple (life is much easier when you limit the hardware choices you have to write to). The biggest problem with a lot of Windows machines is the "race to the bottom" - OEMs that cut corners to compete on price. Once you have proper hardware (See Microsoft's own Surface Pros, most Thinkpads and some other machines by Lenovo and top-end Dells) - the package is just fantastic and has a lot of merits.
At the end of the day, Windows vs Mac, on the same quality of hardware, is really a preference today, do you care about touch screens or unix-style command lines (because the GUI portion on both is just fine). Macs come with better command lines out of the box (Unix shells), Windows comes with acceptable command lines but you can get 3rd party ones that are just as good or better (JP Software), and Windows can be had with fantastic touch screens.