2. Taking Baby Steps by Adrian Bolboaca
Code retreat
- Deliberate practice -
Real TDD Cycle
Clean code
Baby steps
Pair programming
Better communication
www.mozaicworks.com
3. Taking Baby Steps by Adrian Bolboaca
Why?
Undo, Pause & Resume
Fast feedback
Real refactoring
Minimize mistakes
www.mozaicworks.com
4. Taking Baby Steps by Adrian Bolboaca
Program:
10 min Intro
25 min coding
5 min retrospective
25 min coding
5 min retrospective
25 min coding
15 min closing retrospective
5 min Outro
www.mozaicworks.com
5. Taking Baby Steps by Adrian Bolboaca
Prerequisites:
Coding environment
Testing framework
Source control (git, svn, etc)
Timer (telephone, etc)
www.mozaicworks.com
6. Taking Baby Steps by Adrian Bolboaca
Problem: tic-tac-toe
www.mozaicworks.com
7. Taking Baby Steps by Adrian Bolboaca
Choose your pair
Choose programming language
Code in pairs
Have fun!
www.mozaicworks.com
8. Taking Baby Steps by Adrian Bolboaca
1) Initialize source control repository
2) Start a timer for 2 minutes
3) Write exactly one failing test
a) Timer rings, the test is red, then revert and go to 2)
b) The test is green before the timer rings, then commit
4) Restart timer
5) Refactor
a) Timer rings, the refactoring is incomplete then revert and restart
b) The refactoring is complete before the timer rings, then commit
and go to 4) or to 2)
Obs.
The timers must run continuously, don't stop to talk! www.mozaicworks.com
9. Taking Baby Steps by Adrian Bolboaca
Why?
Undo, Pause & Resume
Fast feedback
Real refactoring
Minimize mistakes
www.mozaicworks.com
10. Taking Baby Steps by Adrian Bolboaca
Contact me
Unit testing workshop
Remote pair-programming
TDD workshop
Refactoring workshop
Legacy code workshop
Legacy code retreat
Code retreat
www.mozaicworks.com
11. Taking Baby Steps by Adrian Bolboaca
Extend your mentoring & training
capacity
Accelerate learning through
communities of practice
Grow your functional leaders and top
talents
http://www.mozaicworks.com
adrian.bolboaca@mozaicworks.com
@adibolb