Earlier quoted context omitted.
You'd be surprised about this. A ton of developers use Windows even if they are developing software that runs on Linux servers (myself included). Especially so in the last few years with WSL being quite good and Docker being available. 2019's Stackoverflow report for OS usage put Windows at 49.3% for "Professional developers" with MacOS at 29.2% and Linux at 25.3%. I happen to have a few tech courses on programming a…
I am certainly open to the idea of being surprised by this -- there very well could be more developers using Microsoft as the operating system they use for their development machine, however I do wonder if the population of Stack Overflow users is a good, un-skewed sample of all developers.
In an ideal world I would be running native Linux but I had trouble with some audio gear not working and my favorite video editing tool doesn't run in Linux, nor do some of the games I play -- so I use Windows because that's what's available.
As much as I hate to say it, Windows is a pretty good environment to do every day developer things + more.
For example I spent 95% of my time in WSL using tmux and terminal Vim to write code full time (with fzf and everything you would expect on the command line). It's really fast. The wsltty terminal has almost as low input latency as xterm on native Linux (which I run on my modified Chromebook). While developing all sorts of web apps (Flask, Phoenix, Rails, Webpack, etc.) inside of Docker the volume performance is fast enough where I never once had complaints even on 5 year old hardware.
Then I'm a hotkey away from opening any program with command line launchers, switching virtual desktops with other hotkeys, running VMs for testing server deployments, recording and editing videos and playing any games I want without having to think twice about it or dual boot.
Other than bullshit telemetry and forced updates, Windows 10 Pro is not that bad from an all around "I use my computer to do stuff" perspective. I think that's ultimately why Windows is so popular. It also helps that you can put together a beast of a machine for about $750. But with that said I would instantly switch to Linux if all of my Linux problems were suddenly fixed.
In the mean time, if anyone is interested, I have a bunch of blog posts and videos showing how I set everything up in Windows. It can all be found here: https://nickjanetakis.com/blog/the-tools-i-use