Coding dojo
-
Upload
nicholas-kirkland -
Category
Documents
-
view
29 -
download
0
description
Transcript of Coding dojo
![Page 1: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/1.jpg)
Coding dojo
WeActuallyBuildStuffJohannes Brodwall, Chief scientist
Exilesoft
![Page 2: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/2.jpg)
1. What is a dojo?
2. Ping-pong demo
3. First kata
4. First kata, repeat
5. Second kata
6. Competition
7. Wrap-up
![Page 3: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/3.jpg)
«Coding dojo»?
![Page 4: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/4.jpg)
ProgrammersPractice
People
![Page 5: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/5.jpg)
ProgrammersPractice
Social
![Page 6: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/6.jpg)
«Deliberate practice is your highway
to becoming an expert.»
![Page 7: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/7.jpg)
«Slowing down is really the key to get any skill under your
belt.»
![Page 8: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/8.jpg)
«In order to master any move or action
you need to make a lot of repetitions.»
![Page 9: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/9.jpg)
Reflect on different approaches
![Page 10: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/10.jpg)
ProgrammersPractice
People
![Page 11: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/11.jpg)
![Page 12: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/12.jpg)
![Page 13: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/13.jpg)
![Page 14: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/14.jpg)
Failing test
Write code
Failing test
Write code
Failing test
![Page 15: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/15.jpg)
Failing test
Write code
Failing test
Write code
Failing test
Refactor code and tests
Refactor code and tests
![Page 16: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/16.jpg)
Failing test
Write code
Failing test
Write code
Failing test
![Page 17: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/17.jpg)
Failing test
Write code
Failing test
Write code
Failing test
Refactor code and tests
Refactor code and tests
![Page 18: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/18.jpg)
What effect will this have?
![Page 19: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/19.jpg)
Kata: Leap years
![Page 20: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/20.jpg)
Dojo format:
![Page 21: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/21.jpg)
1. Select kata
2. Plan approach
3. Work
4. Reflect
5. Repeat
![Page 22: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/22.jpg)
Katas:
![Page 23: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/23.jpg)
Kata: Prime factors1 => []
2 => [2]
3 => [3]
4 => [2,2]
…
2*2*13*17*23*23 => [2,2,13,17,23,23]
![Page 24: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/24.jpg)
Approach:
![Page 25: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/25.jpg)
Which tests?
![Page 26: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/26.jpg)
How long do we need?
![Page 27: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/27.jpg)
Reflect
![Page 28: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/28.jpg)
What surprised you?
What do you want to achieve next round?
What did you learn?
![Page 29: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/29.jpg)
Kata: Prime factors1 => []
2 => [2]
3 => [3]
4 => [2,2]
…
2*2*13*17*23*23 => [2,2,13,17,23,23]
![Page 30: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/30.jpg)
Reflect
![Page 31: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/31.jpg)
What surprised you?
What do you want to achieve next round?
What did you learn?
![Page 32: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/32.jpg)
Kata: Romans1 => I
5 => V
1999 => MCMXCIX
![Page 33: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/33.jpg)
Which tests?
![Page 34: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/34.jpg)
Reflect
![Page 35: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/35.jpg)
What surprised you?
What do you want to achieve next round?
What did you learn?
![Page 36: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/36.jpg)
Kata: Minefield
[ "....", ".*..", ".*.*", "...*“ ]
[ “1110", “2*31", “2*4*", “113*” ]
=>
![Page 37: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/37.jpg)
Reflect
![Page 38: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/38.jpg)
What surprised you?
What do you want to achieve next round?
What did you learn?
![Page 39: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/39.jpg)
Minesweper competition
![Page 40: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/40.jpg)
![Page 41: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/41.jpg)
16 rows
![Page 42: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/42.jpg)
30 columns
![Page 43: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/43.jpg)
99 mines
![Page 44: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/44.jpg)
![Page 45: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/45.jpg)
![Page 46: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/46.jpg)
![Page 47: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/47.jpg)
![Page 48: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/48.jpg)
![Page 49: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/49.jpg)
![Page 50: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/50.jpg)
Reflect
![Page 51: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/51.jpg)
What surprised you?
What do you want to achieve next round?
What did you learn?
![Page 52: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/52.jpg)
Repeat
![Page 53: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/53.jpg)
Reflect
![Page 54: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/54.jpg)
What surprised you?
Your plan to change how you work?
What did you learn?
![Page 55: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/55.jpg)
Conclusion:
![Page 56: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/56.jpg)
Deliberate practice will make you a master
developer!
![Page 57: Coding dojo](https://reader030.fdocuments.in/reader030/viewer/2022032605/56812bc5550346895d900a6c/html5/thumbnails/57.jpg)
Thank you [email protected]
http://johannesbrodwall.com
http://exilesoft.com
https://github.com/anders88/sweeper_game
http://twitter.com/jhannes
Watch this space!