If I'm switching keyboard layouts, I'm not programming in both layouts. I'm programming in a variation of the US layout, and writing natural language text in a different layout. I'm sure it is disruptive at first, but I got used to it such a long time ago at this point.
There are also a lot of games that don't work except in the QWERTY layout, so I am always switching if I play a game. I have gotten used to it.
I've only ever figured out how to type accents for foreign languages on Macs. Windows has the ALT+1234 gibberish that you have to memorize. I've been fighting against layouts and IMEs on Linux for at least two decades at this point and there are at least three different ways to set the keyboard layout, each of which affect different applications, and some applications seem to ignore the keyboard layout I set. As a result, I often just kind of give up on typing accented characters except on a Mac.
If I'm switching keyboard layouts, I'm not programming in both layouts. I'm programming in a variation of the US layout, and writing natural language text in a different layout. I'm sure it is disruptive at first, but I got used to it such a long time ago at this point.
There are also a lot of games that don't work except in the QWERTY layout, so I am always switching if I play a game. I have gotten used to it.
I've only ever figured out how to type accents for foreign languages on Macs. Windows has the ALT+1234 gibberish that you have to memorize. I've been fighting against layouts and IMEs on Linux for at least two decades at this point and there are at least three different ways to set the keyboard layout, each of which affect different applications, and some applications seem to ignore the keyboard layout I set. As a result, I often just kind of give up on typing accented characters except on a Mac.