Others mentioned lifting weights — +1 to that but let me add something I haven't seen mentioned yet: rowing.
Rowing is, in my opinion, the perfect anti-programming exercise.
- you unfurl your body instead of hunching over, stretching it in a way counter to the usual strains programming creates
- you exercise your back, especially lower back, giving you support muscles for good posture
- you also exercise your forearms, building strength to support your wrists
I've been rowing consistently for about 20 years now, and have never once had wrist or lower back pain, despite programming professionally.