# Coderetreat - What, Why and How

- Speaker: [Erez Lotan](/wiki/speakers/erez-lotan.md)
- Event: [Reversim Summit 2016](/wiki/years/2016.md)
- Video: https://www.youtube.com/watch?v=4GIkPRsSzhQ
- Transcript: [/transcripts/2016/51-4GIkPRsSzhQ.md](/transcripts/2016/51-4GIkPRsSzhQ.md)
- Language: Hebrew · Type: talk · Level: general
- Topics: [Software Engineering](/wiki/topics/software-engineering.md), [Technical Debt](/wiki/topics/technical-debt.md), [Productivity](/wiki/topics/productivity.md), [Engineering Culture](/wiki/topics/engineering-culture.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

The speaker introduces the concept of Coderetreat as a way for software developers to practice and improve their craft away from everyday delivery pressures. By repeatedly solving the same simple problem in short paired sessions under strict constraints, developers can focus purely on code quality rather than completion. The talk explains the core format, including pair programming and deleting all code at the end of each session. Ultimately, participants learn how deliberate practice helps bridge the gap between ideal coding standards and daily habits.

## Key points

- [0:09](https://www.youtube.com/watch?v=4GIkPRsSzhQ&t=9s) The speaker introduces Coderetreat as a routine practice that helps teams continuously improve their coding skills.
- [0:09](https://www.youtube.com/watch?v=4GIkPRsSzhQ&t=9s) Daily software development often forces compromises and shortcuts due to strict timelines and delivery pressures.
- [1:58](https://www.youtube.com/watch?v=4GIkPRsSzhQ&t=118s) A Coderetreat event consists of multiple 45-minute pair programming sessions solving the same problem repeatedly.
- [1:58](https://www.youtube.com/watch?v=4GIkPRsSzhQ&t=118s) All code written during each session is immediately deleted to remove attachment and encourage a fresh start.
- [3:20](https://www.youtube.com/watch?v=4GIkPRsSzhQ&t=200s) Sessions introduce artificial constraints, such as prohibiting certain language constructs or enforcing strict Test-Driven Development.
- [4:28](https://www.youtube.com/watch?v=4GIkPRsSzhQ&t=268s) Just like athletes train with weights to perform better later, developers use these constraints to build mental muscles for everyday coding.

## Takeaways

- Practice coding through repetition and strict constraints to focus on quality instead of delivery.
- Use pair programming with distinct roles like navigator and driver to enhance collaboration.
- Embrace throwing away experimental code to learn without the fear of failure.

## Questions this talk answers

- What is the format of a Coderetreat session and how long does it last?
- Why do participants delete their code at the end of each session?
- How do artificial constraints improve everyday coding practices?

## Tags

code quality, coderetreat, deliberate practice, pair programming, tdd
