The #1 habit every Software Engineer needs to have

Cat Stretching

After 25 years of sitting in front of a computer, I've learned that the most important habit for software engineers isn't about code - it's about taking care of your body.

The Hidden Cost of Our Profession

We love what we do. We can spend hours lost in code, solving problems, building amazing things. But our bodies pay the price:

  • Bad posture from hunching over keyboards
  • Stiff neck and shoulders from staring at screens
  • Lower back pain from sitting all day
  • Wrist pain from repetitive movements

I've experienced all of these, and I've found some solutions that work for me.

Disclaimer: I'm not a doctor or physical therapist. This is just my personal experience. Please consult with healthcare professionals for your specific situation.

For Upper Back and Neck Pain

The Problem

Hours of looking down at screens creates a forward head position, putting enormous strain on your neck and upper back muscles.

My Solution

  1. Posture Corrector Device: I use a simple posture corrector that gently pulls my shoulders back. I wear it for 30 minutes, 2-3 times per day.

  2. The 3-Minute Stretching Routine: Every hour, I do this quick routine:

    • Chin tucks: 10 reps
    • Shoulder blade squeezes: 10 reps
    • Neck rotations: 5 each direction
    • Shoulder rolls: 10 backward, 10 forward

Here's a helpful video that demonstrates similar exercises: [Neck and Shoulder Stretches Video]

For Lower Back Pain

The Problem

Sitting compresses your spine and tightens your hip flexors, leading to lower back pain.

My Solution

  1. Hip Flexor Stretches: The key is stretching the muscles that get tight from sitting:

    • Lunge stretches: Hold for 30 seconds each side
    • Pigeon pose: Great for opening hips
    • Standing hip flexor stretch using a chair
  2. Piriformis Muscle Stretches: This deep hip muscle often causes sciatic pain:

    • Seated figure-4 stretch
    • Lying piriformis stretch
    • Standing piriformis stretch

Check out this video for proper form: [Hip Flexor and Piriformis Stretches]

The #1 Habit: Move Every Hour

Here's the habit that changed everything for me: Set a timer and move every hour.

It doesn't have to be complicated:

  • Stand up and walk around for 2 minutes
  • Do 5 stretches
  • Walk to get water
  • Do 10 squats

The key is consistency, not intensity.

Additional Tips That Help

  1. Invest in Your Setup: Good chair, proper monitor height, ergonomic keyboard
  2. Strengthen Your Core: A strong core supports your back
  3. Stay Hydrated: It forces you to get up regularly
  4. Consider a Standing Desk: Alternate between sitting and standing

The Long Game

We're in this profession for the long haul. The code we write today won't matter if we're in too much pain to code tomorrow.

Taking care of your body isn't a luxury - it's a professional necessity. Start small, be consistent, and your future self will thank you.

Remember: The best code is written by healthy engineers. Make movement your most important daily commit.

All of this lands inside the larger framework I have around time as the only currency that compounds.

Where exactly the hourly movement breaks land — I broke down my whole time-blocking system here.

The craft of coding has changed completely. The body still pays the same price.


📬 Enjoyed this article?

Subscribe for the stuff that doesn't make it onto the blog — half-finished ideas, what I'm reading and listening to, behind-the-scenes notes, and the occasional rabbit hole. No spam, just things worth your time.

Join the newsletter →