41
Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Embed Size (px)

Citation preview

Page 1: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Coding dojo

PocketMobileJohannes Brodwall, Chief scientist

Exilesoft

Page 2: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

1. What is a dojo?

2. Ping-pong demo

3. First kata

4. First kata, repeat

5. Second kata

6. Wrap-up

Page 3: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

«Coding dojo»?

Page 4: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

ProgrammersPractice

People

Page 5: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft
Page 6: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Programmers

Practice

People

Page 7: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft
Page 8: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

«Deliberate practice is your highway

to becoming an expert.»

Page 9: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

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

belt.»

Page 10: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

«In order to master any move or action

you need to make a lot of repetitions.»

Page 11: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Reflect on different approaches

Page 12: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

ProgrammersPractice

• Slow down• Repeat• Reflect

People

Page 13: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

ProgrammersPractice

People• Make friends

• Work together• Have fun

Page 14: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft
Page 15: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft
Page 16: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Failing test

Write code

Failing test

Write code

Failing test

Page 17: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Failing test

Write code

Failing test

Write code

Failing test

Refactor code and tests

Refactor code and tests

Page 18: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Failing test

Write code

Failing test

Write code

Failing test

Page 19: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Failing test

Write code

Failing test

Write code

Failing test

Refactor code and tests

Refactor code and tests

Page 20: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Kata: Leap years

Page 21: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Dojo format:

Page 22: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

1. Select kata

2. Plan approach

3. Work

4. Reflect

5. Repeat

Page 23: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Katas:

Page 24: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Kata: Prime factors1 => []

2 => [2]

3 => [3]

4 => [2,2]

2*2*13*17*23*23 => [2,2,13,17,23,23]

Page 25: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Approach:

Page 26: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Which tests?

Page 28: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Reflect

Page 29: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

What surprised you?

What do you want to achieve next round?

What did you learn?

Page 30: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Kata: Prime factors1 => []

2 => [2]

3 => [3]

4 => [2,2]

2*2*13*17*23*23 => [2,2,13,17,23,23]

Page 31: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Reflect

Page 32: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

What surprised you?

What do you want to achieve next round?

What did you learn?

Page 33: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Kata: Romans1 => I

5 => V

1999 => MCMXCIX

Page 34: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Which tests?

Page 35: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Reflect

Page 36: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

What surprised you?

What do you want to achieve next round?

What did you learn?

Page 37: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Reflect

Page 38: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

What surprised you?

What will you do next?

What did you learn?

Page 39: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Conclusion:

Page 40: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Deliberate practice will make you a master

developer!

Page 41: Coding dojo PocketMobile Johannes Brodwall, Chief scientist Exilesoft

Thank you [email protected]

http://johannesbrodwall.com

http://exilesoft.com

http://twitter.com/jhannes

Learn more