In the early days of Macintosh, developers were less connected to Apple computers in case of web development. After the launch of OS X, It has become a fact that a large number of programmers are switching to Mac. Mac OS X is a certified Unix Operating System. And this system has a great advantage for programmers as they don't need different IDEs to run programs in different languages.
Here are some reasons why programmers use Mac instead of Windows:
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.
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 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
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.