RailsWayCon 2010 Coding Dojo

1,125 views

Published on

These are the actual slides from the Coding Dojo I held together with Jens-Christian Fischer (jcfischer) at the RailsWayCon in Berlin in 2010

Published in: Education, Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,125
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

RailsWayCon 2010 Coding Dojo

  1. 1. Coding Dojo RailsWayCon 2010 Michael Mahlberg & Jens-Christian Fischer 1
  2. 2. Warning 2
  3. 3. Audience Participation 3
  4. 4. Dojo? Kata? 4
  5. 5. http://www.flickr.com/photos/bengarney/3017352943/ 5
  6. 6. it‘s not about rails http://www.flickr.com/photos/chris_gin/2490980153/ 6
  7. 7. Kata • Form • Choreographed pattern of movements 7
  8. 8. Dojo • The Place of the Way 8
  9. 9. But Why? 9
  10. 10. In the live presentation we switched to this http://www.youtube.com/watch?v=AQt2inyxNNg 10
  11. 11. 11
  12. 12. 12
  13. 13. 13
  14. 14. Kata - Form • Allows you to practice • Allows you to free your mind of tediousness • Muscle Memory 14
  15. 15. Different Katas • Problem Solving Kata • Tools Kata 15
  16. 16. Problem Solving If can‘t think of at least 3 solutions, you haven‘t yet understood the problem – G. Weinberg 16
  17. 17. Tools The Way of the carpenter is to become proficient in the use of his tools, first to lay his plans with a true measure and then perform his work according to plan. – Go Rin No Sho 17
  18. 18. Now that we have covered the theory 18
  19. 19. Coding Dojo Randori Style 19
  20. 20. Rules • Choose a problem (Actually, we have chosen) • Pair programming - Driver / Navigator • Test Driven • Red-Green => Switch Roles • New Person coming in after 2 cycles • Time limit (2 Minutes) 20
  21. 21. I wrote some code Threw it away Rewrote it again In front of other people It was clever code They frowned at it http://bossavit.com/dojo/archives/000792.html 21
  22. 22. No Spoilers! 22
  23. 23. 100 Doors There are 100 closed Doors & 100 Monkeys 23
  24. 24. 100 Doors The first monkey goes through all doors and opens them 24
  25. 25. 100 Doors The second monkey goes through every 2nd door, and changes it (open when closed, close when open) starting with the second #2, #4, #6, .... 25
  26. 26. 100 Doors The third monkey changes every 3rd door Starting with the third #3, #6, #9, .... 26
  27. 27. Your Mission List all open doors 27
  28. 28. 100 Doors   ;assume all memory is initially set to 0 inc $1   openloop: inc $200,X   inc $1   inc $1 txa   adc $1 tax cpx #$65   bmi openloop   28
  29. 29. Resources • http://codingdojo.org/ • http://programming.dojo.net.nz/welcome/index • http://codekata.pragprog.org • http://bossavit.com/dojo/archives/2005_02.html • http://web.cs.wpi.edu/~gpollice/Dojo.html • http://wiki.agilefinland.com/?CodingDojo 29
  30. 30. Contact Us Jens-Christian Fischer Michael Mahlberg InVisible GmbH Consulting Guild AG @jcfischer @MMahlberg jens-christian@invisible.ch mm@michaelmahlberg.de http://blog.invisible.ch http://agile-aspects.blogspot.com 30

×