I'm 26 and have been hitting keys since I was 6 or 7. For the first time in 20 years I now have a burning pain in my right hand and wrist. I think it has a lot to do with my mouse. I've switched to an ergonomic keyboard, and have also begun using a keyboard tray, placing it low enough so that my shoulders are relaxed when I work. But the pain persists. MacSpeech Dictate has pretty sweet accuracy and can replace typing for IM conversations and email, but I still have to type to code.
What are any of you doing to prevent such injuries? Do you think about the possibility? I have a feeling it could end up being something of an 'unexpected' pandemic (three co-workers of similar age have also begun to see their first symptoms).
Is the pain in your R hand on your wrist (palmar side?) or is it in the back of your hand? It' makes a difference. A doctor can help you sort things out. All the tendons and nerves that control your hand flow through a narrow band in your wrist. If you rest your arm's weight on your wrist for extended periods of time (i.e. mousing on your R hand), you can put pressure on that bundle of nerves and tendons. Do it too long, and you can end up like a friend did and not be able to button a shirt for 4 months.
So, may I suggest a trackball, trackpad or vertical mouse. I actually have a track ball and a mouse connected to my computer, and I switch back and forth between them every so often. I'm probably going to purchase a vertical mouse soon, because my wrist is aching a little bit.