Coding dojo We Actually Build Stuff Johannes Brodwall
Coding dojo We. Actually. Build. Stuff Johannes Brodwall, Chief scientist Exilesoft
1. 2. 3. 4. 5. 6. 7. What is a dojo? Ping-pong demo First kata, repeat Second kata Competition Wrap-up
«Coding dojo» ?
Programmers Practice People
Programmers Practice Social
«Deliberate practice is your highway to becoming an expert. »
«Slowing down is really the key to get any skill under your belt. »
«In order to master any move or action you need to make a lot of repetitions. »
Reflect on different approaches
Programmers Practice People
Failing test Write code Failing test
Failing test Write code Refactor code and tests Failing test
Failing test Write code Failing test
Failing test Write code Refactor code and tests Failing test
What effect will this have?
Kata: Leap years
Dojo format:
1. Select kata 2. Plan approach 3. Work 4. Reflect 5. Repeat
Katas:
Kata: Prime factors 1 => [] 2 => [2] 3 => [3] 4 => [2, 2] … 2*2*13*17*23*23 => [2, 2, 13, 17, 23]
Approach:
Which tests?
How long do we need?
Reflect
What surprised you? What did you learn? What do you want to achieve next round?
Kata: Prime factors 1 => [] 2 => [2] 3 => [3] 4 => [2, 2] … 2*2*13*17*23*23 => [2, 2, 13, 17, 23]
Reflect
What surprised you? What did you learn? What do you want to achieve next round?
Kata: Romans 1 => I 5 => V 1999 => MCMXCIX
Which tests?
Reflect
What surprised you? What did you learn? What do you want to achieve next round?
Reflect
What surprised you? What did you learn? What do you want to achieve next round?
Minesweper competition
16 rows
30 columns
99 mines
Reflect
What surprised you? What did you learn? What do you want to achieve next round?
Repeat
Reflect
What surprised you? What did you learn? Your plan to change how you work?
Conclusion:
Deliberate practice will make you a master developer!
Thank you jbr@exilesoft. com http: //johannesbrodwall. com http: //exilesoft. com https: //github. com/anders 88/sweeper _game http: //twitter. com/jhannes Watch this space!
- Slides: 57