1 / 47

Coding dojo

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.

tabib
Download Presentation

Coding dojo

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Coding dojo Guest starring Prabath Randeeniya Colombo Agile Meetup Johannes Brodwall, Chief scientist Exilesoft

  2. What is a dojo? What to solve? How to work? Let’s get started Reflection Repeat

  3. «Coding dojo»?

  4. Programmers Practice Social

  5. Programmers Practice Social

  6. Programmers Practice Social

  7. Deliberate practice http://expertenough.com/2327/deliberate-practice-steps

  8. «Deliberate practice is your highway to becoming an expert.»

  9. «Slowing down is really the key to get any skill under your belt.»

  10. «In order to master any move or action you need to make a lot of repetitions.»

  11. Reflect on different approaches

  12. Dojo format:

  13. Select kata Plan approach Work Reflect Repeat

  14. Katas:

  15. Kata: Prime factors 1 => [] 2 => [2] 3 => [3] 4 => [2,2] … 2*2*13*17*23*23 => [2,2,13,17,23,23]

  16. Kata: Minefield [ “1110", “2*31", “2*4*", “113*” ] [ "....", ".*..", ".*.*", "...*“ ] =>

  17. Kata: Romans 1 => I 5 => V 1999 => MCMXCIX

  18. Or: Minesweper competition

  19. 16 rows

  20. 30 columns

  21. 99 mines

  22. Approach:

  23. Failing test Write code Refactorcode and tests Failing test Write code Refactorcode and tests Failing test

  24. Which tests?

  25. Reflect

  26. Get to work! SSID: Code-Dojo pwd: CodeDoJo http://192.168.135.127:1337 https://github.com/jhannes

  27. What surprised you?

  28. What did you learn?

  29. What do you plan to do differently?

  30. Demo of some TDD

  31. @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); }

  32. Reflect

  33. What surprised you?

  34. What did you learn?

  35. What do you plan to do differently?

  36. Conclusion:

  37. Reflecting on your work will make you a master developer!

  38. Thank you jbr@exilesoft.com http://johannesbrodwall.com http://exilesoft.com http://twitter.com/jhannes

More Related