SlideShare a Scribd company logo
1 of 17
CODE
GETTING BETTER THROUGH
DELIBERATE PRACTICE
WORKSHOP
BY
MICHAEL
WEGENER
NAMICS AG
WWW.NAMICS.COM
PHILIP
ALTHAUS
(Kata)	
  
形	
  
PROGRAMMERS ARE
PROBLEM SOLVERS
”Is there more than one way
to solve a certain problem?”
YOUR BRAIN
is extremely powerful when it comes 
to pattern recognition
its main focus is on 
optimizing analogy retrieval
THAT’S WHY
DELIBERATE PRACTICE
IS ONE OF THE BEST WAYS TO GET
BETTER AT SOMETHING
CODE KATAS
EXERCICES WHICH HELP PROGRAMMERS 
HONE THEIR SKILLS THROUGH 
PRACTICE AND REPETITION
do it in pairs
SIMPLE PROBLEM TO SOLVE 
THAT GETS HARDER WITH RESTRICTIONS
there is no right solution, it has not to be finished
WHY BOTHER?
LEARNING OUTSIDE THE CURRENT PROJECT
experiment on a playground
GETTING INSTANT FEEDBACK 
discuss your approaches
SEE HOW OTHERS DO 
THE SAME THING DIFFERENT
there is no right solution
RESTRICITONS & WAYS
PROBLEM 
TO SOLVE
NO
CONDITIONALS
TIME TO 
GREEN
GOOD / BAD
PROGRAMMER 
…
NO ARRAYS
use 
polymorphism
write small methods
make small changes
write better tests
use
data structures
WORKSHOP
scoring bowling
Java Example
GIT REPOSITORY
git@github.com:danielkummer/namics-conference-kata-workshop.git
GAME RULES
10 FRAMES / 2 THROWS PER FRAME
10 pins to knock down
SPARE – ALL 10 PINS IN 2 THROWS
bonus – no. of pins knocked down in next throw
STRIKE– ALL 10 PINS IN 1 THROW
bonus – no. of pins knocked down in next 2 throws
10th FRAME – ADDITIONAL BALLS ON 
SPARE OR STRIKE
no more than 3 balls total
4	
  1	
  
5	
  
5	
  4	
  
14	
  
6	
  
29	
  
5	
  
49	
   60	
  
1	
  0	
  
61	
  
7	
  
77	
  
6	
  
97	
   117	
  
2	
  
133	
  
6	
  
REQUIREMENTS
WRITE A CLASS NAMED GAME
it has 2 methods
ROLL(PINS : INT)
CALLED EACH TIME PLAYER ROLLS A BALL
argument is number of pins knocked down
SCORE()
CALLED AT THE END OF THE GAME
returns the total score of that game
Game
+ roll( pins : int )
+ score()
TESTS FIRST
GUTTER GAME
no pins where knocked down
ALL ONES
every throw knocked down one pin
ONE SPARE
game with one spare
ONE STRIKE
game with one strike
WRAP UP
lets review...
CODE KATAS
REUSE A SIMPLE KATA OVER AND OVER
play with different restrictions
USE TEST-DRIVEN-DEVELOPMENT
as a supportive technique
LEARN YOUR STRENGTHS AND WEAKNESSES
and those of others
RECOGNIZE THAT DIFFICULT TASKS 
WILL GET EASIER AFTER A WHILE
you need to struggle in order to improve
THE HUMAN FACTOR
REVIEW
Improve and learn
DISCUSS
guidelines
solutions
problems
SHARE
thoughts
tools
ideas
THANK YOU
for your attention
now leave and do katas!

More Related Content

Similar to Code Kata Workshop - Improve your skills through deliberate practice

Primer on Play: Case Study for Knowledge Guru
Primer on Play: Case Study for Knowledge GuruPrimer on Play: Case Study for Knowledge Guru
Primer on Play: Case Study for Knowledge GuruMarlo Gorelick
 
Play to Learn: Learning Games and Gamification that Get Results
Play to Learn: Learning Games and Gamification that Get ResultsPlay to Learn: Learning Games and Gamification that Get Results
Play to Learn: Learning Games and Gamification that Get ResultsHRDQ-U
 
On the way to good Game Design
On the way to good Game DesignOn the way to good Game Design
On the way to good Game DesignAndrew Dotsenko
 
LAFS Game Design 8 - Playtesting
LAFS Game Design 8 - PlaytestingLAFS Game Design 8 - Playtesting
LAFS Game Design 8 - PlaytestingDavid Mullich
 
Boston games forum universal design lessons - dave bisceglia
Boston games forum   universal design lessons - dave biscegliaBoston games forum   universal design lessons - dave bisceglia
Boston games forum universal design lessons - dave biscegliaElizabeth Cormack
 
Central PA ASSE Professional Development Conference
Central PA ASSE Professional Development ConferenceCentral PA ASSE Professional Development Conference
Central PA ASSE Professional Development ConferenceLinda Tapp
 
Agile2012 klingon
Agile2012 klingonAgile2012 klingon
Agile2012 klingondrewz lin
 
Scrum simulation-with-lego-bricks-v2.0
Scrum simulation-with-lego-bricks-v2.0Scrum simulation-with-lego-bricks-v2.0
Scrum simulation-with-lego-bricks-v2.0Juan Bohorquez
 
How to Fix the 10 Biggest Mistakes in Gamification
How to Fix the 10 Biggest Mistakes in GamificationHow to Fix the 10 Biggest Mistakes in Gamification
How to Fix the 10 Biggest Mistakes in GamificationAggregage
 
Intro to Games User Research Methods - March 2013
Intro to Games User Research Methods - March 2013Intro to Games User Research Methods - March 2013
Intro to Games User Research Methods - March 2013Ben Lewis-Evans
 
User Experience 6: Qualitative Methods, Playtesting and Interviews
User Experience 6: Qualitative Methods, Playtesting and InterviewsUser Experience 6: Qualitative Methods, Playtesting and Interviews
User Experience 6: Qualitative Methods, Playtesting and InterviewsMarc Miquel
 
Agile EE 2010
Agile EE 2010Agile EE 2010
Agile EE 2010alenalav
 
Mark Dvoretsky - Recognizing Your Opponent's Resources.pdf
Mark Dvoretsky - Recognizing Your Opponent's Resources.pdfMark Dvoretsky - Recognizing Your Opponent's Resources.pdf
Mark Dvoretsky - Recognizing Your Opponent's Resources.pdfRudra244598
 

Similar to Code Kata Workshop - Improve your skills through deliberate practice (20)

Gamification Journey
Gamification JourneyGamification Journey
Gamification Journey
 
Train Your Brain With Games
Train Your Brain With GamesTrain Your Brain With Games
Train Your Brain With Games
 
Primer on Play: Case Study for Knowledge Guru
Primer on Play: Case Study for Knowledge GuruPrimer on Play: Case Study for Knowledge Guru
Primer on Play: Case Study for Knowledge Guru
 
Skill Mapping
Skill MappingSkill Mapping
Skill Mapping
 
Play to Learn: Learning Games and Gamification that Get Results
Play to Learn: Learning Games and Gamification that Get ResultsPlay to Learn: Learning Games and Gamification that Get Results
Play to Learn: Learning Games and Gamification that Get Results
 
On the way to good Game Design
On the way to good Game DesignOn the way to good Game Design
On the way to good Game Design
 
Gamification solvay vietnam
Gamification solvay vietnamGamification solvay vietnam
Gamification solvay vietnam
 
LAFS Game Design 8 - Playtesting
LAFS Game Design 8 - PlaytestingLAFS Game Design 8 - Playtesting
LAFS Game Design 8 - Playtesting
 
2-03 Session slides
2-03 Session slides2-03 Session slides
2-03 Session slides
 
Boston games forum universal design lessons - dave bisceglia
Boston games forum   universal design lessons - dave biscegliaBoston games forum   universal design lessons - dave bisceglia
Boston games forum universal design lessons - dave bisceglia
 
Central PA ASSE Professional Development Conference
Central PA ASSE Professional Development ConferenceCentral PA ASSE Professional Development Conference
Central PA ASSE Professional Development Conference
 
Agile2012 klingon
Agile2012 klingonAgile2012 klingon
Agile2012 klingon
 
Scrum simulation-with-lego-bricks-v2.0
Scrum simulation-with-lego-bricks-v2.0Scrum simulation-with-lego-bricks-v2.0
Scrum simulation-with-lego-bricks-v2.0
 
Finding The Fun
Finding The FunFinding The Fun
Finding The Fun
 
How to Fix the 10 Biggest Mistakes in Gamification
How to Fix the 10 Biggest Mistakes in GamificationHow to Fix the 10 Biggest Mistakes in Gamification
How to Fix the 10 Biggest Mistakes in Gamification
 
Intro to Games User Research Methods - March 2013
Intro to Games User Research Methods - March 2013Intro to Games User Research Methods - March 2013
Intro to Games User Research Methods - March 2013
 
User Experience 6: Qualitative Methods, Playtesting and Interviews
User Experience 6: Qualitative Methods, Playtesting and InterviewsUser Experience 6: Qualitative Methods, Playtesting and Interviews
User Experience 6: Qualitative Methods, Playtesting and Interviews
 
It quiz
It quizIt quiz
It quiz
 
Agile EE 2010
Agile EE 2010Agile EE 2010
Agile EE 2010
 
Mark Dvoretsky - Recognizing Your Opponent's Resources.pdf
Mark Dvoretsky - Recognizing Your Opponent's Resources.pdfMark Dvoretsky - Recognizing Your Opponent's Resources.pdf
Mark Dvoretsky - Recognizing Your Opponent's Resources.pdf
 

More from Daniel Kummer

DIY IoT - The InfoDome
DIY IoT - The InfoDomeDIY IoT - The InfoDome
DIY IoT - The InfoDomeDaniel Kummer
 
Bluetooth LE - Dodging the Bullets
Bluetooth LE - Dodging the BulletsBluetooth LE - Dodging the Bullets
Bluetooth LE - Dodging the BulletsDaniel Kummer
 
Changing internet - where we come from where we go
Changing internet - where we come from where we goChanging internet - where we come from where we go
Changing internet - where we come from where we goDaniel Kummer
 
Git - Get Ready To Use It
Git - Get Ready To Use ItGit - Get Ready To Use It
Git - Get Ready To Use ItDaniel Kummer
 
Magnolia 4.5 Migration - Storytelling
Magnolia 4.5 Migration - StorytellingMagnolia 4.5 Migration - Storytelling
Magnolia 4.5 Migration - StorytellingDaniel Kummer
 
BDD testing with cucumber
BDD testing with cucumberBDD testing with cucumber
BDD testing with cucumberDaniel Kummer
 
Git get-the-job-done
Git get-the-job-doneGit get-the-job-done
Git get-the-job-doneDaniel Kummer
 

More from Daniel Kummer (11)

Git code reviews
Git code reviewsGit code reviews
Git code reviews
 
DIY IoT - The InfoDome
DIY IoT - The InfoDomeDIY IoT - The InfoDome
DIY IoT - The InfoDome
 
Bluetooth LE - Dodging the Bullets
Bluetooth LE - Dodging the BulletsBluetooth LE - Dodging the Bullets
Bluetooth LE - Dodging the Bullets
 
Changing internet - where we come from where we go
Changing internet - where we come from where we goChanging internet - where we come from where we go
Changing internet - where we come from where we go
 
Git - Get Ready To Use It
Git - Get Ready To Use ItGit - Get Ready To Use It
Git - Get Ready To Use It
 
Magnolia 4.5 Migration - Storytelling
Magnolia 4.5 Migration - StorytellingMagnolia 4.5 Migration - Storytelling
Magnolia 4.5 Migration - Storytelling
 
Clean Code
Clean CodeClean Code
Clean Code
 
BDD testing with cucumber
BDD testing with cucumberBDD testing with cucumber
BDD testing with cucumber
 
Git get-the-job-done
Git get-the-job-doneGit get-the-job-done
Git get-the-job-done
 
Git
GitGit
Git
 
Git! Why? How?
Git! Why? How?Git! Why? How?
Git! Why? How?
 

Recently uploaded

NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...
NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...
NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...Amil Baba Dawood bangali
 
North Avenue Call Girls Services, Hire Now for Full Fun
North Avenue Call Girls Services, Hire Now for Full FunNorth Avenue Call Girls Services, Hire Now for Full Fun
North Avenue Call Girls Services, Hire Now for Full FunKomal Khan
 
Call Girls in Faridabad 9000000000 Faridabad Escorts Service
Call Girls in Faridabad 9000000000 Faridabad Escorts ServiceCall Girls in Faridabad 9000000000 Faridabad Escorts Service
Call Girls in Faridabad 9000000000 Faridabad Escorts ServiceTina Ji
 
Zoom In Game for ice breaking in a training
Zoom In Game for ice breaking in a trainingZoom In Game for ice breaking in a training
Zoom In Game for ice breaking in a trainingRafik ABDI
 
Amil Baba in karachi Kala jadu Expert Amil baba Black magic Specialist in Isl...
Amil Baba in karachi Kala jadu Expert Amil baba Black magic Specialist in Isl...Amil Baba in karachi Kala jadu Expert Amil baba Black magic Specialist in Isl...
Amil Baba in karachi Kala jadu Expert Amil baba Black magic Specialist in Isl...Amil Baba Company
 
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...First NO1 World Amil baba in Faisalabad
 
NO1 WorldWide Amil baba in pakistan Amil Baba in Karachi Black Magic Islamaba...
NO1 WorldWide Amil baba in pakistan Amil Baba in Karachi Black Magic Islamaba...NO1 WorldWide Amil baba in pakistan Amil Baba in Karachi Black Magic Islamaba...
NO1 WorldWide Amil baba in pakistan Amil Baba in Karachi Black Magic Islamaba...Amil baba
 
Call Girls Ellis Bridge 7397865700 Independent Call Girls
Call Girls Ellis Bridge 7397865700 Independent Call GirlsCall Girls Ellis Bridge 7397865700 Independent Call Girls
Call Girls Ellis Bridge 7397865700 Independent Call Girlsssuser7cb4ff
 
在线办理曼大毕业证曼尼托巴大学毕业证成绩单留信学历认证
在线办理曼大毕业证曼尼托巴大学毕业证成绩单留信学历认证在线办理曼大毕业证曼尼托巴大学毕业证成绩单留信学历认证
在线办理曼大毕业证曼尼托巴大学毕业证成绩单留信学历认证nhjeo1gg
 
ViP Call Girls In Udaipur 9602870969 Gulab Bagh Escorts SeRvIcE
ViP Call Girls In Udaipur 9602870969 Gulab Bagh Escorts SeRvIcEViP Call Girls In Udaipur 9602870969 Gulab Bagh Escorts SeRvIcE
ViP Call Girls In Udaipur 9602870969 Gulab Bagh Escorts SeRvIcEApsara Of India
 
Call Girls Near The Corus Hotel New Delhi 9873777170
Call Girls Near The Corus Hotel New Delhi 9873777170Call Girls Near The Corus Hotel New Delhi 9873777170
Call Girls Near The Corus Hotel New Delhi 9873777170Sonam Pathan
 
Call Girls In Moti Bagh (8377877756 )-Genuine Rate Girls Service
Call Girls In Moti Bagh (8377877756 )-Genuine Rate Girls ServiceCall Girls In Moti Bagh (8377877756 )-Genuine Rate Girls Service
Call Girls In Moti Bagh (8377877756 )-Genuine Rate Girls Servicedollysharma2066
 
8377087607 Full Enjoy @24/7 Call Girls in Patel Nagar Delhi NCR
8377087607 Full Enjoy @24/7 Call Girls in Patel Nagar Delhi NCR8377087607 Full Enjoy @24/7 Call Girls in Patel Nagar Delhi NCR
8377087607 Full Enjoy @24/7 Call Girls in Patel Nagar Delhi NCRdollysharma2066
 
Call Girl Price Andheri WhatsApp:+91-9833363713
Call Girl Price Andheri WhatsApp:+91-9833363713Call Girl Price Andheri WhatsApp:+91-9833363713
Call Girl Price Andheri WhatsApp:+91-9833363713Sonam Pathan
 
Amil Baba in Pakistan Kala jadu Expert Amil baba Black magic Specialist in Is...
Amil Baba in Pakistan Kala jadu Expert Amil baba Black magic Specialist in Is...Amil Baba in Pakistan Kala jadu Expert Amil baba Black magic Specialist in Is...
Amil Baba in Pakistan Kala jadu Expert Amil baba Black magic Specialist in Is...Amil Baba Company
 
QUIZ BOLLYWOOD ( weekly quiz ) - SJU quizzers
QUIZ BOLLYWOOD ( weekly quiz ) - SJU quizzersQUIZ BOLLYWOOD ( weekly quiz ) - SJU quizzers
QUIZ BOLLYWOOD ( weekly quiz ) - SJU quizzersSJU Quizzers
 
Gripping Adult Web Series You Can't Afford to Miss
Gripping Adult Web Series You Can't Afford to MissGripping Adult Web Series You Can't Afford to Miss
Gripping Adult Web Series You Can't Afford to Missget joys
 
Call Girls Near Taurus Sarovar Portico Hotel New Delhi 9873777170
Call Girls Near Taurus Sarovar Portico Hotel New Delhi 9873777170Call Girls Near Taurus Sarovar Portico Hotel New Delhi 9873777170
Call Girls Near Taurus Sarovar Portico Hotel New Delhi 9873777170Sonam Pathan
 

Recently uploaded (20)

NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...
NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...
NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...
 
North Avenue Call Girls Services, Hire Now for Full Fun
North Avenue Call Girls Services, Hire Now for Full FunNorth Avenue Call Girls Services, Hire Now for Full Fun
North Avenue Call Girls Services, Hire Now for Full Fun
 
Call Girls in Faridabad 9000000000 Faridabad Escorts Service
Call Girls in Faridabad 9000000000 Faridabad Escorts ServiceCall Girls in Faridabad 9000000000 Faridabad Escorts Service
Call Girls in Faridabad 9000000000 Faridabad Escorts Service
 
Zoom In Game for ice breaking in a training
Zoom In Game for ice breaking in a trainingZoom In Game for ice breaking in a training
Zoom In Game for ice breaking in a training
 
Amil Baba in karachi Kala jadu Expert Amil baba Black magic Specialist in Isl...
Amil Baba in karachi Kala jadu Expert Amil baba Black magic Specialist in Isl...Amil Baba in karachi Kala jadu Expert Amil baba Black magic Specialist in Isl...
Amil Baba in karachi Kala jadu Expert Amil baba Black magic Specialist in Isl...
 
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
 
NO1 WorldWide Amil baba in pakistan Amil Baba in Karachi Black Magic Islamaba...
NO1 WorldWide Amil baba in pakistan Amil Baba in Karachi Black Magic Islamaba...NO1 WorldWide Amil baba in pakistan Amil Baba in Karachi Black Magic Islamaba...
NO1 WorldWide Amil baba in pakistan Amil Baba in Karachi Black Magic Islamaba...
 
Call Girls Ellis Bridge 7397865700 Independent Call Girls
Call Girls Ellis Bridge 7397865700 Independent Call GirlsCall Girls Ellis Bridge 7397865700 Independent Call Girls
Call Girls Ellis Bridge 7397865700 Independent Call Girls
 
在线办理曼大毕业证曼尼托巴大学毕业证成绩单留信学历认证
在线办理曼大毕业证曼尼托巴大学毕业证成绩单留信学历认证在线办理曼大毕业证曼尼托巴大学毕业证成绩单留信学历认证
在线办理曼大毕业证曼尼托巴大学毕业证成绩单留信学历认证
 
ViP Call Girls In Udaipur 9602870969 Gulab Bagh Escorts SeRvIcE
ViP Call Girls In Udaipur 9602870969 Gulab Bagh Escorts SeRvIcEViP Call Girls In Udaipur 9602870969 Gulab Bagh Escorts SeRvIcE
ViP Call Girls In Udaipur 9602870969 Gulab Bagh Escorts SeRvIcE
 
Environment Handling Presentation by Likhon Ahmed.pptx
Environment Handling Presentation by Likhon Ahmed.pptxEnvironment Handling Presentation by Likhon Ahmed.pptx
Environment Handling Presentation by Likhon Ahmed.pptx
 
Call Girls Near The Corus Hotel New Delhi 9873777170
Call Girls Near The Corus Hotel New Delhi 9873777170Call Girls Near The Corus Hotel New Delhi 9873777170
Call Girls Near The Corus Hotel New Delhi 9873777170
 
Call Girls In Moti Bagh (8377877756 )-Genuine Rate Girls Service
Call Girls In Moti Bagh (8377877756 )-Genuine Rate Girls ServiceCall Girls In Moti Bagh (8377877756 )-Genuine Rate Girls Service
Call Girls In Moti Bagh (8377877756 )-Genuine Rate Girls Service
 
8377087607 Full Enjoy @24/7 Call Girls in Patel Nagar Delhi NCR
8377087607 Full Enjoy @24/7 Call Girls in Patel Nagar Delhi NCR8377087607 Full Enjoy @24/7 Call Girls in Patel Nagar Delhi NCR
8377087607 Full Enjoy @24/7 Call Girls in Patel Nagar Delhi NCR
 
Call Girl Price Andheri WhatsApp:+91-9833363713
Call Girl Price Andheri WhatsApp:+91-9833363713Call Girl Price Andheri WhatsApp:+91-9833363713
Call Girl Price Andheri WhatsApp:+91-9833363713
 
Amil Baba in Pakistan Kala jadu Expert Amil baba Black magic Specialist in Is...
Amil Baba in Pakistan Kala jadu Expert Amil baba Black magic Specialist in Is...Amil Baba in Pakistan Kala jadu Expert Amil baba Black magic Specialist in Is...
Amil Baba in Pakistan Kala jadu Expert Amil baba Black magic Specialist in Is...
 
Call Girls Koti 7001305949 all area service COD available Any Time
Call Girls Koti 7001305949 all area service COD available Any TimeCall Girls Koti 7001305949 all area service COD available Any Time
Call Girls Koti 7001305949 all area service COD available Any Time
 
QUIZ BOLLYWOOD ( weekly quiz ) - SJU quizzers
QUIZ BOLLYWOOD ( weekly quiz ) - SJU quizzersQUIZ BOLLYWOOD ( weekly quiz ) - SJU quizzers
QUIZ BOLLYWOOD ( weekly quiz ) - SJU quizzers
 
Gripping Adult Web Series You Can't Afford to Miss
Gripping Adult Web Series You Can't Afford to MissGripping Adult Web Series You Can't Afford to Miss
Gripping Adult Web Series You Can't Afford to Miss
 
Call Girls Near Taurus Sarovar Portico Hotel New Delhi 9873777170
Call Girls Near Taurus Sarovar Portico Hotel New Delhi 9873777170Call Girls Near Taurus Sarovar Portico Hotel New Delhi 9873777170
Call Girls Near Taurus Sarovar Portico Hotel New Delhi 9873777170
 

Code Kata Workshop - Improve your skills through deliberate practice

  • 1. CODE GETTING BETTER THROUGH DELIBERATE PRACTICE WORKSHOP BY MICHAEL WEGENER NAMICS AG WWW.NAMICS.COM PHILIP ALTHAUS (Kata)   形  
  • 2. PROGRAMMERS ARE PROBLEM SOLVERS ”Is there more than one way to solve a certain problem?”
  • 3. YOUR BRAIN is extremely powerful when it comes to pattern recognition its main focus is on optimizing analogy retrieval
  • 4. THAT’S WHY DELIBERATE PRACTICE IS ONE OF THE BEST WAYS TO GET BETTER AT SOMETHING
  • 5. CODE KATAS EXERCICES WHICH HELP PROGRAMMERS HONE THEIR SKILLS THROUGH PRACTICE AND REPETITION do it in pairs SIMPLE PROBLEM TO SOLVE THAT GETS HARDER WITH RESTRICTIONS there is no right solution, it has not to be finished
  • 6. WHY BOTHER? LEARNING OUTSIDE THE CURRENT PROJECT experiment on a playground GETTING INSTANT FEEDBACK discuss your approaches SEE HOW OTHERS DO THE SAME THING DIFFERENT there is no right solution
  • 7. RESTRICITONS & WAYS PROBLEM TO SOLVE NO CONDITIONALS TIME TO GREEN GOOD / BAD PROGRAMMER … NO ARRAYS use polymorphism write small methods make small changes write better tests use data structures
  • 10. GAME RULES 10 FRAMES / 2 THROWS PER FRAME 10 pins to knock down SPARE – ALL 10 PINS IN 2 THROWS bonus – no. of pins knocked down in next throw STRIKE– ALL 10 PINS IN 1 THROW bonus – no. of pins knocked down in next 2 throws 10th FRAME – ADDITIONAL BALLS ON SPARE OR STRIKE no more than 3 balls total 4  1   5   5  4   14   6   29   5   49   60   1  0   61   7   77   6   97   117   2   133   6  
  • 11. REQUIREMENTS WRITE A CLASS NAMED GAME it has 2 methods ROLL(PINS : INT) CALLED EACH TIME PLAYER ROLLS A BALL argument is number of pins knocked down SCORE() CALLED AT THE END OF THE GAME returns the total score of that game Game + roll( pins : int ) + score()
  • 12. TESTS FIRST GUTTER GAME no pins where knocked down ALL ONES every throw knocked down one pin ONE SPARE game with one spare ONE STRIKE game with one strike
  • 13.
  • 15. CODE KATAS REUSE A SIMPLE KATA OVER AND OVER play with different restrictions USE TEST-DRIVEN-DEVELOPMENT as a supportive technique LEARN YOUR STRENGTHS AND WEAKNESSES and those of others RECOGNIZE THAT DIFFICULT TASKS WILL GET EASIER AFTER A WHILE you need to struggle in order to improve
  • 16. THE HUMAN FACTOR REVIEW Improve and learn DISCUSS guidelines solutions problems SHARE thoughts tools ideas
  • 17. THANK YOU for your attention now leave and do katas!

Editor's Notes

  1. Übernahme PhilipKurzeErläuterungwiewir’s in Zürichmachen, Stichworte: Regelmässig, guteTeilnehmerzahl, kurzeProblemstellungen, Pairprogramming, Spass, ReviewErklärung der Aufgabenstellung, imNormalfallzuzweit, im Workshop aberim Plenum wegenbegrenzterZeit
  2. The game consists of 10 frames as shown above. In each frame the player hastwo opportunities to knock down 10 pins. The score for the frame is the totalnumber of pins knocked down, plus bonuses for strikes and spares.A spare is when the player knocks down all 10 pins in two tries. The bonus forthat frame is the number of pins knocked down by the next roll. So in frame 3above, the score is 10 (the total number knocked down) plus a bonus of 5 (thenumber of pins knocked down on the next roll.)A strike is when the player knocks down all 10 pins on his first try. The bonusfor that frame is the value of the next two balls rolled.In the tenth frame a player who rolls a spare or strike is allowed to roll the extraballs to complete the frame. However no more than three balls can be rolled intenth frame.
  3. Philip: Erklären das der Workshop im Plenum gehaltenwird -> Michi Coded, Plenum sagt was ermachen mussThe game consists of 10 frames as shown above. In each frame the player hastwo opportunities to knock down 10 pins. The score for the frame is the totalnumber of pins knocked down, plus bonuses for strikes and spares.A spare is when the player knocks down all 10 pins in two tries. The bonus forthat frame is the number of pins knocked down by the next roll. So in frame 3above, the score is 10 (the total number knocked down) plus a bonus of 5 (thenumber of pins knocked down on the next roll.)A strike is when the player knocks down all 10 pins on his first try. The bonusfor that frame is the value of the next two balls rolled.In the tenth frame a player who rolls a spare or strike is allowed to roll the extraballs to complete the frame. However no more than three balls can be rolled intenth frame.
  4. Philip: Erklären das der Workshop im Plenum gehaltenwird -> Michi Coded, Plenum sagt was ermachen mussThe game consists of 10 frames as shown above. In each frame the player hastwo opportunities to knock down 10 pins. The score for the frame is the totalnumber of pins knocked down, plus bonuses for strikes and spares.A spare is when the player knocks down all 10 pins in two tries. The bonus forthat frame is the number of pins knocked down by the next roll. So in frame 3above, the score is 10 (the total number knocked down) plus a bonus of 5 (thenumber of pins knocked down on the next roll.)A strike is when the player knocks down all 10 pins on his first try. The bonusfor that frame is the value of the next two balls rolled.In the tenth frame a player who rolls a spare or strike is allowed to roll the extraballs to complete the frame. However no more than three balls can be rolled intenth frame.
  5. Philip:Nurrefactorenwennalle Tests grünsind