DEV Community

Cécile Lebleu
Cécile Lebleu

Posted on

Hand and wrist pain?

For a couple of days already I’ve had a pretty bad pain in my right hand, fingers, wrist, and forearm. I know the culprits: writing code on a MacBook flat keyboard, using the trackpad, and on my free time, using my phone and playing video-games.

I’m writing this on my phone with my left thumb only, my right hand wrapped tightly to ease the pain. I simply cannot use my right hand. I’ve even woken up multiple times during the past couple nights because of the pain.
But how will I ever achieve my goals if I can’t write code? “To get better, write more code”, is the best advice, but what if one can’t?...

So I’m looking for advice from people who suffer or have suffered similar problems. How do you keep going? Ice? Heat? Fancy ergonomic keyboard? Speech-to-text code?

Oldest comments (19)

Collapse
 
codingsam profile image
Coding Sam

I struggle with this kind of problems from time to time too!
Like already said, a keyboard with wrist pads.
I recommend a mousepad with wrist rest and a real mouse. The macbook touchpad is awesome but it is still a touchpad, it is not for long hours usage ;)

Collapse
 
azettl profile image
Andreas

A vertical mouse helped me evoluent.com/products/vm4r/ takes some time to get used too.

Collapse
 
vuild profile image
Vuild

Wait, recover a bit, lift weights (dumbbells etc), strengthen, avoid the same way of typing for a long time (new keyboards, finger poke, dictate etc), shift body positions a lot, do it for longer than you want or relapse.

Src: still typing. Not a dr (dr should be first option).

Collapse
 
devkevyn profile image
devkevyn • Edited

My culprit was my forearm wasn't perpendicular to the table surface causing my wrist to strain (trackpad or mouse). So, I had to adjust my sitting height.

Collapse
 
dmerand profile image
Donald Merand

I'm so sorry to read about your pain. That must be frustrating and stressful, not to mention uncomfortable!

I've had pain like you describe, though not as severe. To be safe, it's good to limit any kind of typing until your wrists feel better. Once affected/aggravated, you won't know if any changes you make are helping.

For me, switching my typing position helped dramatically. Make sure your upper arms are relaxed and hanging loosely at your sides, with the forearms not bent more than 90 degrees. I found that a pad or rolled up kitchen towel under my wrists to keep them straight while I'm typing had the biggest positive effect. No bent wrists! Using the laptop on my actual lap hurts me in about 1 hour.

Also, trackpads are awful, ergonomically-speaking. A six dollar Amazon basics mouse will make a world of difference. Make sure you have a mouse pad too :-)

All the best luck to you, and I'm wishing you a fast recovery.

Collapse
 
darksmile92 profile image
Robin Kretzschmar

My trick was to use an ergonomic Swiftpoint GT Mouse in combination with my normal mouse. I switch during lunch break and use the other one the rest of the day.
Swiftpoint GT product details

As Keyboard I am using a KLIM™ Domination. I was searching for a good mechanical keyboard with good key stroke response and a nice feeling and since this is a german product and I try to support national companies, I gave it a try.
Has a good feeling and even without a palm rest the position of my wrist is pleasant.

Regarding the smartphone usage in the evening:
I bought a phone case with a finger ring at the back (the ones you can also use as kick stand) and tried very hard not to support my phone with my little finger at the bottom (typical holding position). Instead I used the ring on the case.

All those changes together archieved the goal to release the pressure on my wrists and arms during the day.

Collapse
 
suntong profile image
suntong

When so many factors contributing to the pain, you've got to figure out what is the most harmful pose. Yes, a wrong pose is most important factor causing the pain. So read and compare the suggested poses and see what you might improve on.

The other things is, old habits are hard to get rid of. I have a colleague who has already figured out that her pain is caused mainly by using the mouse in the wrong way and using it too often. So she decided to start everything right, using her left hand for the mouse! The first several days were total chaos, but she turned the painful experience into something fun. :-)

Collapse
 
dechamp profile image
DeChamp

Give you wrist breaks. I know this sounds like a "duh, stupid" type of comment, but I mean it. Give it a rest when you can.

Stretching helps a lot as well. Check out these for a few ideas. medicalnewstoday.com/articles/3244...

Also make sure you research on the proper positioning for your hands, arms, and the way you sit. It all matters. I had horrible wrist and back pain for months. I had a professional come check my posture and they let me know all of those things matter. Once I fix my posture, it healed me up!

There are some good guides out there but honestly not everyone is the same is the only reason I'm not going to point you to the guides I've seen.

For example, I was told it was my flat apple keyboard but when I switched to an ergonomic keyboard, my wrist pain tripled. I went back and it stopped, adjusted my seating height and starting sitting straight and the pain went away.

Collapse
 
neex profile image
neex

Start from going to a good chiropractor for an alignment. I cannot put enough stress on the word GOOD. Do your homework before you pick one. But when you do, it is worth every penny

Collapse
 
nanohard profile image
William Antonelli

Spent $1K at hand specialists and nerve test and took off from work for 1 week.

Result:
MD says, "Take a break from work."

What I learned:

  • Cannot get carpal tunnel from typing alone.
  • QWERTY is for masochists.

What to do:

  • Mechanical keyboard.
    • Colemak or Dvorak layout.
  • Proper posture.
    • When not typing, hold hands close to body, do not rest hands on keyboard.

May my suffering help another.

Collapse
 
codeluggage profile image
Matias

Great advice in this thread! I will add a long term solution: vim.

After I began using vim years ago, all these issues went away. My pain came from the excessive switching between using a mouse pad and the keyboard, in addition to using modifier keys to move around (like ctrl+left).

Vim is an investment, but it can be learned incrementally. Here are some steps I recommend:

  • Add it to your editor, don't replace your editor. Almost all editors have a vim plugin so you get the shortcuts.
  • Start with just a few shortcuts; hjkl instead of arrow keys, w and b instead of ctrl+arrow keys, and i/I and a/A to go into insert mode.
  • Change caps lock to escape. That way you have all you need on the "home row" and your wrists can rest easy.
  • Start small. Try for 10-20 minutes when you need to read some code. Just try to move around with these keys and then toggle off the plugin (or just stay in insert mode).
  • When you catch yourself thinking "I wish I could just do X", recognize that feeling and do a quick search online to figure out how to do it. Write down the new shortcut on a sticky note, for example, and savor the feeling of getting a tiny bit better :)

It's a long journey but extremely worth while. Nothing has improved my work with text as much as vim has.

Collapse
 
lcoenen profile image
Loïc Coenen

I second that. I recently had the pain in my pinky though, because I use the terminal a lot and I need to make an odd movement to reach enter or backspace.

Now I remapped it - right cmd (right alt) is now enter, right opt is escape, and left option is backspace.

Collapse
 
cmosetick profile image
Chris Mosetick

William here in the comments suggested Dvorak or Colmak as replacement keyboard layouts. I agree, it's the best way to go for long term viability. I personally know 2 contacts that switched to Dvorak on my recommendation, and they seem quite content with the results.

A few years back, I gave a five minute lighting presentation at Ignite Seattle on the issues surrounding the Qwerty layout, and benefits of the Dvorak layout.

youtube.com/watch?v=sdw6FIFKnco

I also can recommend mechanical keyboards. I like the Filco brand models traditionally.

If you still use the newer model Macbook Pro's keyboard a lot, I can kinda recommend this Dvorak keyboard skin. It works pretty well for me, but does have its down sides. For less than $10 USD it's worth it. I used to be able to physically re-arrange the Macbook Pro keys, but it's not such a smooth transition on the newer models. Hopefully Apple makes a turn around and stops trying to make things so thin.

smile.amazon.com/gp/product/B07L24...

Collapse
 
garrett profile image
Garrett / G66

I have similar issues. I switched to a vertical mouse and that helped a lot. I also wear a wrist wrap sometimes. I’m saving up for a nice ergonomic keyboard.

Collapse
 
qm3ster profile image
Mihail Malo

How did I never hear about this product? :o

 
qm3ster profile image
Mihail Malo

Yeah, I'm such a basic b**** that I use a stock ErgoDox EZ.