Motivation

I’ve been lucky to participate in many Coderetreats and I want to do a small coding practice that keeps the same feeling.

What is a Code retreat?

The Coderetreat site says:

Coderetreat is a day-long, intensive practice event, focusing on the fundamentals of software development and design.

A Code retreat day is structured in two main parts:

Setting context

  1. A previously chosen exercise is explained to the audience, most of the times the chosen exercise is Conway’s Game of Life.
  2. There will be between 4 and 6 sessions, each session will be 45min long.
  3. Each session has an activity.
  4. Each Activity teaches something specific.
  5. People has to pair program, so everyone finds a partner.

Iterating sessions

  1. Session starts, pick your favorite language and start coding, follow the Activity constraints if any.
  2. 45 min later the session ends, you MUST DELETE YOUR CODE.
  3. Retrospective time.
  4. Rest 10-15 min.
  5. Switch pair, pick another activity and start another session.

What is the best about a Code retreat?

  • Repetition
  • Retrospection

How to mimic the most important things?

  1. Define the session duration (I like 25-30 min).
  2. Pick a restriction.
  3. Pick an exercise.
  4. At the end of the session commit your code and tag it.
  5. Rest, I like to take 5-10 min.
  6. Start a new session from scratch

Examples to try

TODO: