Switching to Windows from Linux as a developer can work most of the time, but there are always subtle things and expectations that don't work, and in general, the experience is quite frustrating.
In either direction, there are things to get used to. I'm used to good package management and being able to customize certain window management behavior. Both are sources of frustration on Windows or Mac.
I know, I occasionally am forced to because some client is Windows only.