470 likes | 656 Views
Coding dojo. Guest starring Prabath Randeeniya. Colombo Agile Meetup Johannes Brodwall, Chief scientist Exilesoft. What is a dojo? What to solve? How to work? Let’s get started Reflection Repeat. «Coding dojo»?. Programmers Practice Social. Programmers Practice Social.
E N D
Coding dojo Guest starring Prabath Randeeniya Colombo Agile Meetup Johannes Brodwall, Chief scientist Exilesoft
What is a dojo? What to solve? How to work? Let’s get started Reflection Repeat
Programmers Practice Social
Programmers Practice Social
Programmers Practice Social
Deliberate practice http://expertenough.com/2327/deliberate-practice-steps
«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.»
Select kata Plan approach Work Reflect Repeat
Kata: Prime factors 1 => [] 2 => [2] 3 => [3] 4 => [2,2] … 2*2*13*17*23*23 => [2,2,13,17,23,23]
Kata: Minefield [ “1110", “2*31", “2*4*", “113*” ] [ "....", ".*..", ".*.*", "...*“ ] =>
Kata: Romans 1 => I 5 => V 1999 => MCMXCIX
Failing test Write code Refactorcode and tests Failing test Write code Refactorcode and tests Failing test
Get to work! SSID: Code-Dojo pwd: CodeDoJo http://192.168.135.127:1337 https://github.com/jhannes
@Test publicvoid shouldOpenNeighboursOfZeroHintCell() { solver.opened(new Position(11, 11), 0); List<Position> safeCells = solver.getSafeCells(); assertEquals(Arrays.asList( new Position(10,10), new Position(10, 11), new Position(10, 12), new Position(11,10), new Position(11, 12), new Position(12,10), new Position(12, 11), new Position(12, 12)), safeCells); }
Thank you jbr@exilesoft.com http://johannesbrodwall.com http://exilesoft.com http://twitter.com/jhannes