There's no one answer. Different operating systems offer different features. You can choose the best for the job.
If you want a decent set of compilers etc, then try Linux. Loads of free things available for programmers. However, it will always remain a bedroom-created operating system so if you want reliability, try something like VMS.