Here are some reasons why programmers use Mac instead of Windows:
Command Line
Mac OS X is a combination of UNIX and commercial software. Its greatest pro is that it provides UNIX command lines. Whereas Windows still works on cmd.exe which is based on MS-DOS session. And all the executable files have the extension .exe.
Hardware
It is not an oblivious fact that Apple gives better hardware than the others. This is the noteworthy thing for programmers as they need reliable hardware for extensive codes. Whereas the built quality of Windows variable on the web development company to company as the Windows is an operating system which is available in the market and can be installed on any machine.
Cross-Platform
Cross-platform means when you use an OS to create space for another OS and work on to operating systems on one machine. The cross-platform compatibility makes OS X a better option. The ability of OS X to handle the operating system in one machine is far better than that of Windows. In Windows, the hardware and software do not integrate so well, as a result, the operating system lags and the usage of RAM is divided as well.
Security
tcMac is a solid machine built on UNIX which is the best command line to work upon, but UNIX does not just provide a better platform for programming but protects from a lot of different malware. The built of a Mac computer is much more secure than Windows as the .exe is much more vulnerable to viruses than .app.
Tools
The tools available in Mac is better than that of Windows, for example, to execute any application we use the command line in Mac whereas in windows we use cmd. The comparison between Xcode and Microsoft .net framework isn’t possible but each of them maintains there position.
so here are the facts. Now the decision is yours if you want to use Mac or Windows for your website.