57
Coding dojo WeActuallyBuildStuff Johannes Brodwall, Chief scientist Exilesoft

Coding dojo

Embed Size (px)

DESCRIPTION

Coding dojo. WeActuallyBuildStuff Johannes Brodwall, Chief scientist Exilesoft. What is a dojo? Ping-pong demo First kata First kata, repeat Second kata Competition Wrap-up. «Coding dojo»?. Programmers Practice People. Programmers Practice Social. - PowerPoint PPT Presentation

Citation preview

Page 1: Coding dojo

Coding dojo

WeActuallyBuildStuffJohannes Brodwall, Chief scientist

Exilesoft

Page 2: Coding dojo

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

«Coding dojo»?

Page 4: Coding dojo

ProgrammersPractice

People

Page 5: Coding dojo

ProgrammersPractice

Social

Page 6: Coding dojo

«Deliberate practice is your highway

to becoming an expert.»

Page 7: Coding dojo

«Slowing down is really the key to get any skill under your

belt.»

Page 8: Coding dojo

«In order to master any move or action

you need to make a lot of repetitions.»

Page 9: Coding dojo

Reflect on different approaches

Page 10: Coding dojo

ProgrammersPractice

People

Page 11: Coding dojo
Page 12: Coding dojo
Page 13: Coding dojo
Page 14: Coding dojo

Failing test

Write code

Failing test

Write code

Failing test

Page 15: Coding dojo

Failing test

Write code

Failing test

Write code

Failing test

Refactor code and tests

Refactor code and tests

Page 16: Coding dojo

Failing test

Write code

Failing test

Write code

Failing test

Page 17: Coding dojo

Failing test

Write code

Failing test

Write code

Failing test

Refactor code and tests

Refactor code and tests

Page 18: Coding dojo

What effect will this have?

Page 19: Coding dojo

Kata: Leap years

Page 20: Coding dojo

Dojo format:

Page 21: Coding dojo

1. Select kata

2. Plan approach

3. Work

4. Reflect

5. Repeat

Page 22: Coding dojo

Katas:

Page 23: Coding dojo

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

Approach:

Page 25: Coding dojo

Which tests?

Page 27: Coding dojo

Reflect

Page 28: Coding dojo

What surprised you?

What do you want to achieve next round?

What did you learn?

Page 29: Coding dojo

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

Reflect

Page 31: Coding dojo

What surprised you?

What do you want to achieve next round?

What did you learn?

Page 32: Coding dojo

Kata: Romans1 => I

5 => V

1999 => MCMXCIX

Page 33: Coding dojo

Which tests?

Page 34: Coding dojo

Reflect

Page 35: Coding dojo

What surprised you?

What do you want to achieve next round?

What did you learn?

Page 36: Coding dojo

Kata: Minefield

[ "....", ".*..", ".*.*", "...*“ ]

[ “1110", “2*31", “2*4*", “113*” ]

=>

Page 37: Coding dojo

Reflect

Page 38: Coding dojo

What surprised you?

What do you want to achieve next round?

What did you learn?

Page 39: Coding dojo

Minesweper competition

Page 40: Coding dojo
Page 41: Coding dojo

16 rows

Page 42: Coding dojo

30 columns

Page 43: Coding dojo

99 mines

Page 44: Coding dojo
Page 45: Coding dojo
Page 46: Coding dojo
Page 47: Coding dojo
Page 48: Coding dojo
Page 49: Coding dojo
Page 50: Coding dojo

Reflect

Page 51: Coding dojo

What surprised you?

What do you want to achieve next round?

What did you learn?

Page 52: Coding dojo

Repeat

Page 53: Coding dojo

Reflect

Page 54: Coding dojo

What surprised you?

Your plan to change how you work?

What did you learn?

Page 55: Coding dojo

Conclusion:

Page 56: Coding dojo

Deliberate practice will make you a master

developer!

Page 57: Coding dojo

Thank you [email protected]

http://johannesbrodwall.com

http://exilesoft.com

https://github.com/anders88/sweeper_game

http://twitter.com/jhannes

Watch this space!