Solving the Health Problems of Software Engineers
Tags: career, productivity, webdev, health
Published: 2019-07-04 15:32:57

---
title: Solving the Health Problems of Software Engineers
published: true
description: Here are some ways to ensure sustainability if you're looking to optimize your mental and physical health, ensure that you remain at your best long into your career.
tags: career,productivity,webdev,health
canonical_url: https://algodaily.com/lessons/solving-the-health-problems-of-software-engineers
---

_This story was originally published at [https://algodaily.com](https://algodaily.com/lessons/solving-the-health-problems-of-software-engineers), where I maintain a technical interview course and write think-pieces for ambitious developers._


As software engineers, we're kind of spoiled in many ways. For the most part, we get to enjoy higher than average compensation, pretty good work-life balance, and a slew of interesting things to work on. The technology sector as an industry is a great place to be, and many developers plan to spend most of their working lives in it.

But there are certainly some downfalls to being a software engineer. Though intellectually stimulating, it's certainly a pretty sedentary endeavor. In addition, having access to a constant stream of stimulation can be pretty bad for our brains, as [many people have begun to anecdotally discover](https://www.amazon.com/gp/product/1455586692/ref=as_li_qf_asin_il_tl?ie=UTF8&tag=algodaily03-20&creative=9325&linkCode=as2&creativeASIN=1455586692&linkId=0205abfd4f343c07d8f84c634122be51).

The average software engineer will wake up, go to work, and sit in a chair all day, staring off into the deep edges of the internet or some text editor. They might also be on their phones during both ways of the commute, and then play video games or watch TV long into the night. This pattern can be disastrous to your health over the long term.

<img src="https://images.pexels.com/photos/574071/pexels-photo-574071.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260" class="img-fluid">

Here are some ways to ensure sustainability if you're looking to optimize your mental and physical health, ensure that you remain at your best long into your career.

_**Disclaimer:** I AM NOT A MEDICAL PROFESSIONAL AND THIS ADVICE SHOULD NOT BE MISCONSTRUED AS MEDICAL ADVICE IN ANY WAY. THIS IS PURELY ANECDOTAL BASED ON WHAT'S WORKED FOR ME. PLEASE SEEK A PROFESSIONAL FOR HELP IF NECESSARY._

## Problem: Bad back
Bad sitting and working postures can cause back and neck aches to occur. Constant sitting in one position is harmful, but unfortunately this is a necessary evil in our profession.

The soft discs between vertebrae dry over time, and these discs can put pressure on nerves, inflicting great pain. Aside from constant breaks and walking around as much as possible, here are some other things to try.

**SOLUTIONS**

**Deadlifts** - many of my friends who are in the business complain about wrist and back problems all the time. None of them regularly do deadlifts. Deadlifts are a classic exercise where you bend over and pick up a weight, using your forearm/wrist and posterior chain muscles. Here's a [book with good explanations on deadlift form](https://www.amazon.com/gp/product/1938895304/ref=as_li_qf_asin_il_tl?ie=UTF8&tag=algodaily03-20&creative=9325&linkCode=as2&creativeASIN=1938895304&linkId=dfb84126c6fa4b1c4b927a66593a3e0d). Start off light, perhaps once a week, and ensure that you have someone watching your form to ensure you're doing it properly.

**Yoga** - Yoga helps your muscles relax so you can be more resilient. I highly recommend simply going on Youtube, [getting a mat](https://www.amazon.com/gp/product/B01LP0VBDI/ref=as_li_qf_asin_il_tl?ie=UTF8&tag=algodaily03-20&creative=9325&linkCode=as2&creativeASIN=B01LP0VBDI&linkId=72698dfe89c9ea66f37d34f56cc48475), and following some routines-- your body will thank you. Note that the harder poses take a while to build up to, so be patient!


## Problem: Bad wrists
If you're a knowledge worker, you likely spend hours upon hours scrolling and typing, leaving your hands and wrists in awkward positions. The 

**SOLUTIONS**

**Deadlifts** - they help here too. It's odd that one exercise could prevent so many issues, but soreness and pain in your wrists and back can _often_ be attributed to lack of strength. The reason is because many gripping/typing/steering motions are highly repetitive, causing weakness and stiffness in your wrists and fingers.

_Note: Wrist pain symptoms can vary, but carpal tunnel syndrome, a very common neurological condition, is due to excess pressure in your wrist that causes swelling. Often the underlying issue is a medical condition, but it can be exacerbated via overextension. There is no research indicating that strengthening your wrist helps prevent carpal tunnel syndrome._

**Forearm/wrist stretching** - Stretching is recommended to increase flexibility in those repetitive motions. I'll [do these stretches](https://www.healthline.com/health/chronic-pain/wrist-and-hand-stretches#simple-stretches) a few times a day, whenever my forearms/wrists are feeling stiff.


## Problem: Dry and strained eyes
This is very common problem. We stare at screens for most of the day now-- aside from getting glasses, what can we do?

**SOLUTION**

This one is easy to solve-- _look into the distance frequently_. It helps a lot to be seated near a window. The rule of thumb is: every 20 minutes, stare into the distance for 20 seconds. For me, it's probably more like every 2 hours, but just changing how my eyes are working has helped greatly.

<img src="https://images.pexels.com/photos/941555/pexels-photo-941555.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260" class="img-fluid">

We're now going to move on to some mental health tips. **Again, I'm some random guy on the internet, not a medical profession.**

## Problem: Overthinking and lack of focus
As developers, we spend our days thinking up elegant solutions to tough technical problems. But how often are you able to truly stop this thinking when you want it? After work, is your brain still revving its engine-- except now, there's no tough challenge to solve, and you begin to ruminate on unnecessary things? (I wonder what that dude I see once a month in the hallway thought of my shirt.)

This happened far too often when I first became a developer. I realized I had a tedendency to carry "code mode" into situations outside of work, and found myself unable to control my monkey brain.

**SOLUTION**

**Mindfulness Meditation** has made the biggest difference here by far. You're training your mind to shut off by focusing on the present mode. Your brain cannot concentrate on two things at once (though we certainly try), so when you stay in the `now` and enjoy your sensory inputs, your thoughts simply pass through. I highly recommend [Why Buddhism is True for a rational argument](https://www.amazon.com/gp/product/1439195463/ref=as_li_qf_asin_il_tl?ie=UTF8&tag=algodaily03-20&creative=9325&linkCode=as2&creativeASIN=1439195463&linkId=94327d520611b7532e070e36cd21b83e) on this concept.


## Problem: Lack of appreciation
Again, we as developers have it (for the most part) pretty good. But take one look at forums for developers, and you'll see that many people expressing their dissatisfaction with their careers. Of course, we as humans have every right to not be content with things, but it's not uncommon to see an engineer making low six figures groaning about not making half a million. Or complaining about the free food in the office cafeteria. Or making it to the position of their dreams and then suddenly looking for the next better opportunity.

Again, you have every right to be unhappy, but if you find yourself chasing after "something better", you may be experiencing the "grass is greener" syndrome.

**SOLUTION**

What I've found to work best has been [practicing stoicism](https://www.amazon.com/gp/product/0195374614/ref=as_li_qf_asin_il_tl?ie=UTF8&tag=algodaily03-20&creative=9325&linkCode=as2&creativeASIN=0195374614&linkId=35c7d22943eff7ddbcab603452ba5904). You can think of it as weight-lifting for the mind. On a daily basis, you are reminding yourself that bad things can and will happen to you, but things _can always be worse_. Thinking about how things could be worse will surprisingly help you appreciate what you do have.


## Problem: Brain fog and fatigue
In addition to sitting too long in one spot, we as developers are prone to thinking about one thing for too long. This can cause us to become mentally tired, and make it hard to think. Usually sleep and relaxation will resolve it, but brain fog and fatigue can often linger for a few days.

**SOLUTION**

**Cardio** - I've recommended it here before, but [cardio is incredibly beneficial to mental health in a myriad of ways](https://www.amazon.com/gp/product/0316113514/ref=as_li_qf_asin_il_tl?ie=UTF8&tag=algodaily03-20&creative=9325&linkCode=as2&creativeASIN=0316113514&linkId=21b434fd221f559c547ae644119ca465). Whenever brain fog creeps up, a quick 30-45 minute run will get me in the zone again.

**Green tea** - There's a cacophony of benefits to green tea, but the mix of both stimulating and relaxing chemicals seems to put me in a good place and help me focus.

_This story was originally published at [https://algodaily.com](https://algodaily.com/lessons/solving-the-health-problems-of-software-engineers), where I maintain a technical interview course and write think-pieces for ambitious developers._