On an tangential note - my and my mother's wrist pain dramatically reduced after replacing the regular mouse with a ball mouse. I felt additional benefits when I got a touch screen laptop which largely eliminated mousing. My mother's wrist pain additionally reduced after regularly doing negative-pull-ups. (I did the pull ups too, but didn't notice any pain reduction - although my grip strength seemed to returned to what it was pre-pain and possibly higher.)
Also, they sell funny keyboards now that radically alter typing ergonomics (some even divide the keyboard into two parts so you can put hands far apart) which I've never used, but want to try to get rid of the last little vestigial twinges of pain I sometimes get.
Maybe you've tried everything, but if you have not my experience leads me to believe that wrist pain (especially due to excessive programming) is one of those things where if you really try multiple workarounds, you can eventually eliminate or mitigate it, and it's very much worth doing considering how much wrist pain disincentives work.
(Counterpoint - my wrist pain flared up when I was in college and doing a lot of assignments at once on a little laptop, and was so acute that the ulnar styloid was red and warm to touch when I started frantically trying ways to fix it, so this might just be regression to the mean and/or minor reductions in computer use since then)
Cross-posted
Nothing weighty or profound today, but I noticed a failure mode in myself which other people might plausibly suffer from so I thought I'd share it.
Basically, I noticed that sometimes when I discovered a more effective way of doing something -- say, going from conventional flashcards to Anki -- I found myself getting discouraged.
I realized that it was because each time I found such a technique, I automatically compared my current self to a version of me that had had access to the technique the whole time. Realizing that I wasn't as far along as I could've been resulted in a net loss of motivation.
Now, I deliberately compare two future versions of myself, one armed with the technique I just discovered and one without. Seeing how much farther along I will be results in a net gain of motivation.
A variant of this exercise is taking any handicap you might have and wildly exaggerating it. I suffer from mild Carpal Tunnel (or something masquerading as CT) which makes progress in programming slow. When I feel down about this fact I imagine how hard programming would be without hands.
Sometimes I go as far as to plan out what I might do if I woke up tomorrow with a burning desire to program and nothing past my wrists. Well, I'd probably figure out a way to code by voice and then practice mnemonics because I wouldn't be able to write anything down. Since these solutions exist I can implement one or both of them the moment my carpal tunnel gets bad enough.
With this realization comes a boost in motivation knowing I can go a different direction if required.