linux is better suited for development and developers. Windows is the worst but that's just out of the big three operating systems. Yes you can get away with only coding on Windows, it's just a bit harder. better to think of it as linux 1st place mac 2nd place Windows 3rd place than Windows being the worst.
Everyone of them has pros and cons...surely Windows has the highest compatibility with programs and if you need to code perhaps it could be the best one, but then it depends on what you want to do...I mean, there's not a best one that it's better than the others in everything, it's up to you and to your goals
@Ahri Fox I don't think so...you can code also on the notepad or on the paper, without a computer, so everyone is good if you need to write a code.
Then if you talk about executing the code, Windows allows you to execute almost everything, this is sure