I narrowed it down to 2 causes:
1: My car has a manual transmission, and all that gear changing in my commute irritates the nerves.
2: Mousing. I spend a lot of time using the mouse to move all those damned windows around. I switched to using my left hand for the mouse. Now the only times my right wrist hurts are driving for extended periods in slow traffic, or using the touchpad on my laptop a lot (I still use my right hand by habit).
Switching to Dvorak might be the most obvious way to reduce RSI, but I don't think it is the one best thing you can do.
Another thing I'm doing to combat #2 above is trying to get as much of my programming done in Emacs as possible. I also have, "learn a decent window manager" on my list of things to do.
Once I can do all programming & code browsing/navigation in Emacs, and also use the keyboard to manage my windows... maybe Dvorak would help me.
When I was a heavy Emacs user, my left hand outer-side wrist is in constant pain because of always reaching the Control button.
With Caps Lock as control, and using the Alt key closest to the spacebar as Meta, the key-chords in Emacs are comfortable for me (I just spread out my left hand a little over home-row and I can reach them all w/o moving my hand).
I was a vim user long ago (I learned to program in vim) and constantly hitting esc bothered me more than Emacs Ctrl key gymnastics.
Writing code is not like taking dictation or even writing prose. In a split-second I can think up a sentence, one that's likely "good enough" to convey whatever point I'm trying to make. Further, there is almost no divergence between thinking of a sentence and its eventual form.
Perhaps I am dull-witted, but very often a split-second isn't sufficient to think about what function I need to write, much less also figure out what the implementation should be. I have to think far more deeply about what code I need to write, to the point that the time spent touching the keys is minimal; the situation becomes even more negligible the more terse the language. In terms of character length, an office secretary would be able to bang out a clojure library in a few minutes, one that took weeks to actually write.
P.S. I timed writing the above. 90% of the time was spent on thinking, editing, etc.; only 10% of the time accounted for actually banging out words.
Item 4 is why I use Dvorak.
"Dvorak is more comfortable and better for your health."
I changed to Dvorak to eliminate repetitive strain injury. I haven't spent a moment regretting it.
The other replied "you are a programmer, you're supposed to spend 90% of the time thinking about what you do, why do you try to slightly improve the 10% spent writing it"?
Do dvorak users out there find themselves much more productive at the end of the day because of their typing speed?