Ok, fellow old hacker here. I have a similar problem and I found that a lot of the hand pain was from mouse/trackpad usage. My hands have been a lot happier since going to a trackball because I don't do nearly as much gripping and pressing.
Also, a vertical mouse works wonders for similar mouse-related tendon issues.
Also, a vertical mouse works wonders for similar mouse-related tendon issues.