| tags:coding
Self Code Retreat
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
- A previously chosen exercise is explained to the audience, most of the times the chosen exercise is Conway’s Game of Life.
- There will be between 4 and 6 sessions, each session will be 45min long.
- Each session has an activity.
- Each Activity teaches something specific.
- People has to pair program, so everyone finds a partner.
Iterating sessions
- Session starts, pick your favorite language and start coding, follow the Activity constraints if any.
- 45 min later the session ends, you MUST DELETE YOUR CODE.
- Retrospective time.
- Rest 10-15 min.
- 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?
- Define the session duration (I like 25-30 min).
- Pick a restriction.
- Pick an exercise.
- At the end of the session commit your code and tag it.
- Rest, I like to take 5-10 min.
- Start a new session from scratch
Examples to try
- https://github.com/chischaschos/gilded_rose_kata
- https://github.com/chischaschos/el_gato
- https://github.com/chischaschos/bare_gato
- https://github.com/chischaschos/tic-tac-toe-pairing-with-pollo
- https://github.com/chischaschos/ruby-game_of_life
- https://github.com/chischaschos/ruby-bowling_game
- https://github.com/chischaschos/toy-robot-simulator-kata
- https://github.com/chischaschos/go-bankocr-kata
- https://github.com/chischaschos/bank_ocr-ruby-kata
TODO:
- Clean up examples README.md files, or maybe group all katas in a single repo.
- Provide examples of restrictions I’ve liked.
- Try Jeff Bay’s Object Calisthenics