I (25yo), also had pain in my right pinky and wrist, starting about 2 years ago.
I spoke with a friend who had surgery for Carpel Tunnel Syndrome, and knew a lot more about this than me. What he told me:
* Carpel Tunnel Syndrome affects the thumb/index-finger; pain in the pinky side of your hand could be caused by uthe ulnar tunnel or the cubital tunnel.
* He does sets of 10 of these stretches every hour
http://2.bp.blogspot.com/-cl-rpkmgPqI/UeUWdH4oMUI/AAAAAAAAAJ... https://s-media-cache-ak0.pinimg.com/originals/8a/a4/2c/8aa4...
* "One of the biggest things you can do is splint your wrist at night. This is one of the best wrist braces I've found: https://www.amazon.com/Mueller-Fitted-Wrist-Brace-Number/dp/... "
My experience:
- I got a foot pedal, and put Alt, Ctrl, Shift, and Enter on it (and for a while pulled those keycaps off the right side of my keyboard, to force myself to learn to use the foot pedal). This allowed me to keep using a computer while I recovered, and allowed me to avoid stressing my pinky after I recovered. I wrote a bit about that on Reddit https://old.reddit.com/r/emacs/comments/7remed/has_anybody_u... .
- The tendon gliding exercises were very helpful. The other stretches didn't seem to make much difference. While I was recovering, I tried to do them hourly. I now only do them if it's acting up.
- I second his endorsement of those wrist braces. When using them, I wear them at night, and when typing if I can (I can use a desk keyboard with them, but can't use my laptop with them). While I was recovering, I used them all the time, now I only use them if it's acting up.
- More recently, I got a Keyboardio Model 01, which puts the modifiers on the thumbs, not the pinkies. The foot pedal is entirely unnecessary with it; it puts much less strain on my hands.
http://2.bp.blogspot.com/-cl-rpkmgPqI/UeUWdH4oMUI/AAAAAAAAAJ...
Nowadays, my wrist acts up maybe once a month or two.