MY 2012 MBP still works perfectly and with the recent SSD drive install will go another 2 years just fine. I bought it brand new when work bought me a piece of garbage $900 consumer laptop. and then 2 years later bought me a $800 crap laptop to replace the previous one that the screen failed on, and then finally a $650 piece of crap lenovo that prompty had all kinds of issues and the hinge cracked on in 30 days.... all the time the macbook was used the same amount every day, even dropped a few times.
the macbook pro cost $2000 and outlasted 3 Garbage windows laptops from Dell, Toshiba and then Lenovo. My current job is not ran by retards and bought me a $3000 dell precision 7510 it's built well and has decent parts in it like my macbook (no marvell garbage) it has been FLAWLESS for far longer than any windows laptop I have had previous except for when I used to use Panasonic Toughbooks.
It's not the OS, its the hardware being build decently. It's why I utterly ignore the idiots that claim that macbooks are overpriced and they can get a $600 laptop that will do the same thing. No you cant.
Moral of the story.... pay for the hardware up front, or pay for it over and over again. That last lenovo went through 5 keyboards as letters keys would stop working and have to be struck hard. not a problem for those that dont use them for work... but whne you are programming at $125 an hour havignthe fucking O key stop working will make life hell.
Now my current laptop actually runs a hypervisor as the OS and then runs a windows VM... if I have a problem I simply reboot and launch a working VM image. downtime is less than 60 seconds. Oh and we only use windows 7, windows 10 is completely banned corperate wide until further notice.