extreme programming live weactuallybuildstuff johannes brodwall exilesoft chief scientist @jhannes...
TRANSCRIPT
![Page 1: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/1.jpg)
Extreme Programming Live
WeActuallyBuildStuffJohannes Brodwall
Exilesoft Chief scientist
@jhannes
Guest starring: Chaminda Sooriyapperuma
![Page 2: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/2.jpg)
How do you become a
better programmer
![Page 3: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/3.jpg)
After this talk• You may find desire to train with TDD
• You may pair program sometimes• You may think of some ways to improve the
way you work
![Page 4: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/4.jpg)
1. Waddayamean«extreme programming»
2. What to look for3. Demonstration 4. Discussion5. Conclusion
![Page 5: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/5.jpg)
«Extreme programming»?
![Page 6: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/6.jpg)
It is better to• Do the thing right, then to
• Do the right thing• (first)
![Page 7: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/7.jpg)
Ping pong
![Page 8: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/8.jpg)
Ingredience #1:Pair programming
![Page 9: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/9.jpg)
![Page 10: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/10.jpg)
![Page 11: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/11.jpg)
Ingredience #2:Test driven
development
![Page 12: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/12.jpg)
Failing test
Write code
Failing test
Write code
Failing test
![Page 13: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/13.jpg)
Ingredience #3:
Refactoring
![Page 14: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/14.jpg)
Failing test
Write code
Failing test
Write code
Failing test
Refactor code and tests
Refactor code and tests
![Page 15: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/15.jpg)
Put together
![Page 16: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/16.jpg)
Failing test
Write code
Failing test
Write code
Failing test
![Page 17: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/17.jpg)
Failing test
Write code
Failing test
Write code
Failing test
Refactor code and tests
Refactor code and tests
![Page 18: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/18.jpg)
Failing test
Write code
Failing test
Write code
Failing test
Refactor code and tests
Refactor code and tests
![Page 19: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/19.jpg)
Demonstration
![Page 20: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/20.jpg)
What to watch for?
![Page 21: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/21.jpg)
What to watch for?• How do we work together?
• How do we use tests to understand?• How do we «grow» the code?
![Page 22: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/22.jpg)
Please:• Talk about what you see to the person
next to you (whisper)•Tweet to @jhannes
![Page 23: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/23.jpg)
Demonstration(Guest starring Chaminda
Sooriyapperuma)
![Page 24: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/24.jpg)
Kata: Prime factors
![Page 25: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/25.jpg)
Kata: Prime factors1 => []
2 => [2]
3 => [3]
4 => [2,2]
…
2*2*13*17*23*23 => [2,2,13,17,23,23]
![Page 26: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/26.jpg)
What did you see?
![Page 27: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/27.jpg)
What did you see?• How often did we switch ”driver”?
• Effects of pairing?• What did the ”non-driver” do?
•How do you expect it to be different?
![Page 28: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/28.jpg)
What do you think?•Pairing two seniors?•Pairing two juniors?
• Pairing senior and talent?• Pairing senior and junior?
![Page 29: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/29.jpg)
What did you see?• How many tests?
•Was the step size right?• What was the first test?
• How did we decide next test?• What was the final test?
![Page 30: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/30.jpg)
What did you see?•Did we refactor the right amount?
• How long was the code red?• Strengths in final design
•Weaknesses in final design•Enough comments?
![Page 31: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/31.jpg)
Questions?
Your experience?
![Page 32: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/32.jpg)
Becoming a better programmer
![Page 33: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/33.jpg)
Why become better programmer?
![Page 34: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/34.jpg)
Getting better quality
![Page 35: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/35.jpg)
Getting better qualityCorrectness
Maintainability
Productivity
![Page 36: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/36.jpg)
But more importantly!
![Page 37: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/37.jpg)
Think better
![Page 38: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/38.jpg)
Think betterThink beyond the curly brackets
![Page 39: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/39.jpg)
How to get better
![Page 40: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/40.jpg)
Practice
![Page 41: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/41.jpg)
Deliberate Practice• Slow down
• Repeat• Reflect
![Page 42: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/42.jpg)
Practice at school
![Page 43: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/43.jpg)
Practice at school• Tests lets you solve it faster
![Page 44: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/44.jpg)
Practice at home
![Page 45: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/45.jpg)
Practice at home
Learn more here
![Page 46: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/46.jpg)
Practice with friends
![Page 47: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/47.jpg)
![Page 48: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/48.jpg)
![Page 49: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/49.jpg)
![Page 50: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/50.jpg)
![Page 51: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/51.jpg)
![Page 52: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/52.jpg)
What have you learned• TDD makes you productive
• TDD consists of small steps• TDD requires practice
• Pair programming is fun• Pair programming helps you keep flow
![Page 53: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/53.jpg)
+
TDD & different different Levels of
quality
![Page 54: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/54.jpg)
Conclusion
![Page 55: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/55.jpg)
ConclusionFree your mind
![Page 56: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/56.jpg)
Free your mindPractice our art
![Page 57: Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief scientist @jhannes Guest starring: Chaminda Sooriyapperuma](https://reader035.vdocuments.mx/reader035/viewer/2022062520/5697bf7c1a28abf838c84263/html5/thumbnails/57.jpg)
http://johannesbrodwall.com
http://exilesoft.com
http://twitter.com/jhannes
Thank you