Download presentation
Presentation is loading. Please wait.
Published byPrudence Robbins Modified over 9 years ago
1
Experience Agile Programming XP Days Ukraine Йоханнес Бродвалл, Just-a-programmer Стерия Норвегия @jhannes
2
Goal To have fun now! For you to have fun now! For you to have fun later (stretch goal)
3
Agenda Description Demonstration with Dima Mindra Discussion Tips and tricks
4
Description
5
Kata: Minesweeper
7
Given: var minefield = new Minefield([ "....", ".*..", ".*.*", "...*“ ])
8
Kata: FizzBuzz
9
1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz 16
10
Kata: Prime factors 1 => [] 2 => [2] 3 => [3] 4 => [2,2] … 2*2*13*17*23*23 => [2,2,13,17,23,23]
11
What do watch for How we interact How we progress through the code How we design How we use the language
12
Demonstration (Featuring Dmytro Mindra)
13
What did you see?
14
How often did we switch ”driver”? Effects of pairing? What did the ”non-driver” do?
15
What did you see? Was the step size right? What was the first test? How did we decide next test? What was the final test?
16
What did you see? Language tricks? Did we refactor the right amount? How long was the code red? Strengths in final design Weaknesses in final design
17
Why become better at programming?
18
Seriously. Why?
19
Only 13.37% of effort
20
Getting better quality
21
Correctness Maintainability
22
But more importantly!
23
Think better
24
Raise your level of abstraction
25
What to practice
26
Test the contract
27
API Not behavior
29
Test from outside-in
30
Who? Why? Pop! Mock
32
Practice pair programming
33
Ping pong
34
Failing test Fix the test Failing test Fix the test Failing test
35
Fix the test Failing test Fix the test Failing test Refactor
36
JohannesDmytro SergeyMikhail Volodymyr
37
JohannesDmytro SergeyMikhail Volodymyr
38
JohannesDmytro SergeyMikhail Volodymyr
39
All-green refactoring
40
Reduce the time of uncertainty
41
How to practice
42
Practice Practice at work Practice katas Practice in dojos
43
Kyiv Coding Dojo?
47
Pick a demo
48
1.Outside-in 2.Mocking 3.API test 4.All-green refactoring
49
Conclusion
50
Free your mind
51
Practice our art
52
Thank you johannes.brodwall@steria.no http://johannesbrodwall.com http://twitter.com/jhannes (Please tweet in Cyrillic with english-like words)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.