---
title: You Should Take A Codecation
teaser: A codecation is like a vacation, but you spend most of your time writing code.
tags: playbook,clojurescript,codecation
author: Ben Orenstein
published_on: 2014-10-23
---

A codecation is like a vacation, but you spend most of your time writing code.

## How to take a codecation

1. Find someone you really like or want to know better.
1. Choose somewhere you both want to go.
1. Go there, but spend most of your time writing code.
1. Ship something.

Complete these tasks, and you're almost certain to have a great experience.

## Further tips for success

1. _Rent a place with a kitchen and cook most of your meals_. When traveling, a
   surprising amount of time is lost to finding food each day. You can recapture
   this time (and stay healthier) by prepping your own.
1. _Exercise every day._ The best fuel for productive coding sessions is
   breathing hard and sweating. I like to start programming right after
   breakfast and break for exercise when I hit a natural stopping point.
1. _Make sure you finish something and publish it to the world._ The period at
   the end of your codecation sentence should be shipping.

## My first codecation

I've taken two codecations, both with my friend [Chris Hunt][chris].

Our first was in Costa Rica. We decided we wanted to learn ClojureScript, so we
built and shipped the following.

First, we tackled Conway's game of life:

![Conway's game of life][game-of-life]

Next, we built a maze generator and solver:

![Maze generator and solver][maze]

For more info about our codecation in Costa Rica, check out our [trip
report][trip-report].

## My second codecation

Our second codecation was six months later in Boulder, CO.

Saddened by the sudden shutdown of OhLife, we decided to build an [OhLife
replacement][trailmix-landing] called Trailmix, which we later [open
sourced][trailmix-repo].

We didn't get to work with an exotic language this time, but building and
shipping a paid product in a matter of days was incredibly gratifying.

If you'd like to hear way more detail about both these trips, you can listen to
an episode dedicated to the topic on [Chris' podcast][chris-podcast].

By the way, I barely knew Chris before we went to Costa Rica together. You can
absolutely take a codecation with someone you don't know yet.

## Final sales pitch

Codecations are a fantastic way to meet new people, work with fun languages or
technologies you don't use at work, and to capture the joy of starting a brand
new project and seeing it completed.

On both of my trips, I've had the experience of happily coding for 12 hours,
totally engrossed in my work. I was in the zone for days.

If you're fortunate enough to be able to take a codecation, you really ought to
try it. And if you do, we'd love to hear about it!

[chris]: http://www.chrishunt.co/
[game-of-life]: https://images.thoughtbot.com/codecation/gol.gif
[maze]: https://images.thoughtbot.com/codecation/maze.gif
[trip-report]: http://codecation.github.io/2014-02-clojure-rica/
[trailmix-landing]: https://www.trailmix.life
[trailmix-repo]: https://github.com/codecation/trailmix
[chris-podcast]: http://www.healthyhacker.com/2014/09/29/codecation/.
