The practicing programmerTampereGoes AgilesJohannes Brodwall, Just-a-programmerSteriaNorway
The Practicing Programmer
PracticingProgramming
How to workbetterHow to learnbetter
Test-firstXP Explained 1stedOn-sitecustomerCISimple design40-hour weekFrequentreleasesCollectiveownershipRefactoringMetaphorCode standardPairingThe planning game
Test-firstOn-sitecustomerCISimple design40-hour weekFrequentreleasesCollectiveownershipRefactoringMetaphorCode standardPairingThe planning game
Test-firstOn-sitecustomerCISimple design40-hour weekFrequentreleasesCollectiveownershipRefactoringMetaphorCode standardPairingThe planning game
Demo
Whatdidyousee?
Whendidweswitch ”driver”?Effectsofpairing?Howmany tests?Test frequencyIDE tricksStepsize? Toosmall? Toobig?Whendidwerefactor?First test?Pickingnext test?Final test?
Test-firstOn-sitecustomerCISimple design40-hour weekFrequentreleasesCollectiveownershipRefactoringMetaphorCode standardPairingThe planning game
Whybecomebetter at programming?
Seriously. Why?
Only 13.37% ofeffort
Gettingbetterquality
GettingbetterqualityCorrectnessMaintainability
But more importantly!
Thinkbetter
ThinkbetterRaiseyourlevelofabstraction
What to practice
Test thecontract
Test thecontractAPINot behavior
Test from outside-in
Test from outside-inWho?Why?Pop!Mock
TODO: Bilde av standup og tavleKonfidensiell - Navn på presentasjon.ppt17.09.201127
Practice pair programming
Pingpong
Failing testFixthe testFailing testFixthe testFailing test
Failing testFixthe testRefactorFailing testFixthe testRefactorFailing test
JohannesJussiKatjaAriVlad
JohannesJussiKatjaAriVlad
JohannesJussiKatjaAriVlad
All-greenrefactoring
All-greenrefactoringReducethe time ofuncertainty
Continuousintegration
ContinuousintegrationAvoidbranchingRun tests all the time
Pick a demo
Pick a demoOutside-inMockingContract testAll-greenrefactoringContinuousintegration
How to practice
PracticePracticekatasPractice at workPractice in dojos
Conclusion
ConclusionFreeyourmind
FreeyourmindPracticeour art
Thankyoujohannes.brodwall@steria.nohttp://johannesbrodwall.comhttp://twitter.com/jhannes

2011 09-17 tampere - the practicing programmer