🧘‍♂️🧘‍♀️ for 👩‍💻👨‍💻
Tags: yoga, health, productivity, flow
Published: 2018-03-16 13:14:24

---
title: 🧘‍♂️🧘‍♀️ for 👩‍💻👨‍💻
published: true
tags: yoga,health,productivity,flow
canonical_url: http://xn--s28hk2c.ws/posts/yoga/
cover_image: "http://xn--s28hk2c.ws/images/yoga/marion-michele-191320-unsplash.jpg"
---

# Yoga for Devs

I know what you're thinking: *"Really... yoga? That's not for me. That's for &lt;insert some other group here&gt;!"* I used to think that too, but I recently started doing 30 minutes of yoga every day during my lunch break, and it has me feeling great, so I wanted to share my experience.

As a developer, working at home, by myself, my day can be pretty sedentary. If it weren't for my Apple Watch bugging me to stand up once an hour, I could easily get going on some code and not move anything but my fingers for hours. Now, getting into [the flow](https://en.wikipedia.org/wiki/Flow_(psychology)) is vital to tackling hard problems and getting some high productivity work in, but it's not something that I can, or should, do all day. My body, and my brain need a break, and yoga has turned out to be the perfect refresher for both.

I've tried other kinds of exercise during the workday in the past, but couldn't turn it into a habit that I looked forward to. I think the difference with yoga is that it has this meditation / relaxation piece that goes along with the physical exercise that leave both my mind and body feeling great and wanting to come back for more. I know some of you are thinking, "meditation?? 🤨", but it doesn't have to be too "woo woo" as [Tim Ferriss](https://tim.blog/tag/meditation/) likes to say. Just think of it as a short break for your brain while you focus on your body. Meanwhile, your subconscious is unraveling that bug you've been stuck on, and will be ready with an answer when you're done with your yoga (this happens to me often). On top of all that, the stretching and twisting do wonders for my back and hips that are tight and sore from sitting behind a keyboard all day long.

The other thing I love is that you don't need any equipment except maybe a [mat](http://amzn.to/2GDX85G) and a [block](http://amzn.to/2ELkCt4), both of which can easily be hidden in a cabinet or under your desk. I just finished going through my practice in a hotel room with nothing but a towel for a mat. You can even get away with doing some [yoga in your cubicle](https://www.entrepreneur.com/article/279988) if you're stuck in the cube farm all day.

# Overview

Alright, maybe I convinced you to give it a try, but where to start? I'm no expert yogi, but I'll tell you what worked for me. I stumbled onto this awesome [30-day Vinyasa Flow](https://www.welcometotheonepercent.com/vinyasa-flow-yoga/) workout and it was perfect for me. You can find a bunch of other Vinyasa Flow videos on the YouTubes too. Even if you don't like following a video for your daily routine, it helps to see an expert doing the various positions in the proper form a few times before you go off on your own.

The idea behind Vinyasa Flow, as far as I can tell, is that the moves all flow nicely, and are paired with your breathing. This helps make it refreshing for both the body and the mind. It's a nice balance of body challenging and mind calming poses. If you've never done yoga before, they usually start and end with a bit of breathing and meditation. The one I'm doing always ends with [Savasana (corpse pose)](https://www.google.com/search?tbm=isch&as_q=savasana), followed by the fetal position! I always end up feeling refreshed, but that doesn't mean that the rest of the practice is easy. I'm definitely feeling the burn everyday in legs, arms, abs, and everywhere else. They even had me doing headstands and crazy balances after just a couple of weeks!

For this article, I'm going to summarize the core of the Vinyasa flow in a way that only a developer would... using pseudocode! The idea is that you (and I) can watch the videos a few times, then use this as a simple reminder for the basic moves to incorporate into your own practices.

# The Assembly Instructions

These are the individual poses that we will combine to make up our vinyasa flow. Again, please check out a video to see how to do these the right way! These doodles are just a little reminder.

## Child's Pose
<img src="http://xn--s28hk2c.ws/images/yoga/ChildsPose.png" style="width: auto">
Sitting on the knees/shins, bend forward with forehead on the mat

## High Mountain Pose
<img src="http://xn--s28hk2c.ws/images/yoga/HighMountainPose.png" style="width: auto">
Standing straight and tall, hands extended upwards

## Forward Fold
<img src="http://xn--s28hk2c.ws/images/yoga/ForwardFold.png" style="width: auto">
Bend fully forward from the hips

## Halfway Lift
<img src="http://xn--s28hk2c.ws/images/yoga/HalfwayLift.png" style="width: auto">
Bend forward from the hips halfway, straight back

## Chaturanga
<img src="http://xn--s28hk2c.ws/images/yoga/Chaturanga.png" style="width: auto">
Pushup position, elbows at 90 degrees

## Upward-Facing Dog
<img src="http://xn--s28hk2c.ws/images/yoga/UpwardFacingDog.png" style="width: auto">
Lift upward, open chest

## Downward-Facing Dog
<img src="http://xn--s28hk2c.ws/images/yoga/DownwardFacingDog.png" style="width: auto">
Bent at the waist, straight line through arms and back

## Warrior 2 Pose
<img src="http://xn--s28hk2c.ws/images/yoga/Warrior2.png" style="width: auto">
Front foot straight out, knee bent, back foot at 90 degrees

## Extended Side Angle
<img src="http://xn--s28hk2c.ws/images/yoga/ExtendedSideAngle.png" style="width: auto">
From warrior 2, lean forward over front leg

## Reverse Warrior
<img src="http://xn--s28hk2c.ws/images/yoga/ReverseWarrior.png" style="width: auto">
From warrior 2, arch back, keeping front leg bent

## Utkatasana Chair Pose
<img src="http://xn--s28hk2c.ws/images/yoga/UtkatasanaChairPose.png" style="width: auto">
Toes together, bend knees, back straight

## Savasana
<img src="http://xn--s28hk2c.ws/images/yoga/Savasana.png" style="width: auto">
Resting pose, lie on back, spread out as comfortable

# The Algorithms

```swift
func main() {
  warmup()

  for index in 1...3 {
    preSun()
    sunA()
  }

  for index in 1...3 {
    sunB()
    sunA()
  }

  savasana()
}

func warmup() {
  childsPose()        // deep breaths in and out the nose
}

func preSun() {
  downwardFacingDog() // breathe out
  highMountainPose()  // breathe in
  forwardFold()       // breathe out
  halfwayLift()       // breathe in
}

func sunA() {
  chaturanga()        // breathe out
  upwardFacingDog()   // breathe in
  downwardFacingDog() // breathe out
}

func sunB() {
  warrior2()          // breathe out
  // rise up, breathe in
  extendedSideAngle() // breathe out
  warrior2()          // breathe in
  reverseWarrior()    // breathe out
}
```

Once you feel good with this routine, sometimes this simple workout is exactly what you need, and sometimes you'll want to try add something a bit more complex. Check out YouTube or yoga apps for ideas or lessons (I just started trying [Asana Rebel](https://asanarebel.com)).

# tl;dr

Give yoga a try. You'll feel better and you'll think better.

**Namaste 🙏**

###### <p class="f6 gray">Featured Photo by <a href="https://unsplash.com/photos/hOj3-0lTK8E?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText" target="_blank">Marion Michele</a> on <a href="https://unsplash.com/search/photos/yoga-silhouette?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText" target="_blank">Unsplash</a></p>