When comparing Windows vs macOS, the Slant community recommends macOS for most people. In the question“What is the best operating system for a developer?” macOS is ranked 2nd while Windows is ranked 8th. The most important reason people chose macOS is:
It's very similar to a Linux terminal.
Ranked in these QuestionsQuestion Ranking
Pro Windows comes first
Windows is the most used platform in the world. If you build something and need a third-party software it will most likely run on Windows. Not because it's good, but because everyone uses it.
Pro The most solid choice for .NET development
Pro Widely used
Windows is the most-used desktop OS in the world.
Pro Free access to great development IDE in Visual Studio Community
Pro Best driver support of any OS
No other OS comes close to supporting as much hardware as Windows 10 does. Because it's the most popular OS, the bulk of hardware manufacturers support Windows first, and all other operating systems second.
Pro Ubuntu bash shell
Windows has a binary compatible Ubuntu shell to run non-Windows apps natively.
Pro Best support for Visual Basic
Pro Free with most new computers
At least the non-Apple variety at any rate.
Pro Powerful terminal
It's very similar to a Linux terminal.
Pro Based on Unix
macOS being a UNIX certified system means that you can install a lot more stuff with a lot fewer headaches then if you were on Windows.
Pro Polished UI
Pro Best support for Objective-C
Pro Easy access to lots of great dev tools
There's a large selection of great development tools available for OSX. The operating system itself comes bundled with a powerful terminal emulator, called Terminal. Additionally, Apple provides tools, like Xcode, an IDE that contains a comprehensive collection of tools for developing OSX and iOS software, for free.
Pro Ideal setup, out of the box
Next to no custom configuration is necessary.
Pro Lots of open-source software available
Because it's Unix under the fancy GUI, most open source ports easily to it.
Pro Great Git GUI tools
Tower, Kaleidoscope, SourceTree
Pro Has too many special tools for devolopers
Pro More commercial software and gaming support compared to other Unix systems
Adobe CC, MS Office, Steam games.
Pro Great Modifier key layout
Con Weak default terminal
The standard terminal lacks basic features that Linux and OSX has. Alternatives to the default terminal for Window can be found here.
Con Most software is closed source, including the operating system itself
Con Uses more resources than most alternatives
Con Lacks package management
It is not easy to install/keep current development packages that developers need and use.
Con Limited in it's flexibility
Window managers, startup systems, and system components cannot be changed.
Con Scanning for viruses makes builds slow
Compiling a project means reading and writing a lot of files. Even fast anti-virus software slows down the build time (which is almost always too long).
Con Maintenance is time-consuming
Previous versions needed to be formatted ever 6 months to maintain performance.
Con Embarrassing to give talks
On conferences or in user groups the audience laugh at speakers presenting their talk on a Windows machine.
Con Telemetry and Privacy in Win10
By definition, it's a virus. Pre-compromised OS.
OSX is tied Apple hardware and Apple hardware tends to be expensive.
Con No native package management
A comparison of package managers available for OSX can be found here.
Con Most software is closed source
For people who like to use open source tools for their development work, this may be a problem. There's plenty of advantages to open source software, one of which is the ability to tinker with and customize the tools themselves that you are using. Although there's plenty of FOSS tools available for Mac, especially through Homebrew, the number of packages available is much lower than the number of packages available for any Linux distribution.
Con Very few options for running hosted, on the cloud
Con Silly modifier keys layout
The Command key is strange, Alt is where Super should be.
Con Limited hardware
Usually, the hardware that can run this can't be upgraded.