SlideShare uma empresa Scribd logo
1 de 2
#1 - What is pair programming?
1 driver + 1 navigator
“two people working together at a single computer”.
Extreme Programming (XP)
#2 - Benefits: why pair programming? (workshop write on board, or sticky notes)
better code => pair pressure (don’t let the other down) => code and fix
natural tendency (slot machine example)
learning
sharing knowledge
better thinking: two brains are better than one, bouncing ideas
Rubber duck debugging or the expert theory (deep questions)
there is ALWAYS something to learn, to teach.
become better at articulating your thoughts
reduction in coordination efforts managing N/2 divs => managerial argument
Improved resiliency to interruptions (although potential internal
interruptions)
But we have code reviews… => choices have already been made that could have
been better with another brain, chances to influence these choices are gone.
#3 - How to pair program?
1 Driver, 1 Navigator
Every fifteen minutes or so (or a full pomodoro), the pair switches roles
by sliding the keyboard over
Ping pong with TDD : write test, other implements and write another test
##EXERCISE: Pair draw a landscape with life (any kind of life) => Pen switches
hand every 3 minutes.
#4 - Challenges, pitfalls of pair programming (workshop write on board, or
sticky notes)
passivity: active engagement at all times
running commentary going silent => programming out loud
fear (of judgement, fixed mindset)
lack of confidence, imposter syndrome
intrusion on personal space => use pomodoro, timeout
pairing is NOT mentoring, both should be considered equal
remote pairing
culture
#5 - How to improve the experience? (workshop write on board, or sticky notes)
##Abstract:
make each other look good : Agile Australia the Spark team
No blocking No wimping No hogging
adopt a growth mindset : Agile Australia Peter Heslin - leveraging mindsets
for effective leadership
example with kids exercise : you are smart vs you worked hard
embrace ambiguity
give space
be humble and accessible
forget pride, it will only get in the way => equals
don’t judge
use empathy, be compassionate
don’t fear/induce fear -> avoid bashing
##Concrete:
personal hygiene
alternate to find the speed of the pair, ideally a bit faster than the
slower
use pomodoro/timeout to ensure you have breaks, enjoy short break together,
long break separately.
discuss all the things : announce what you intend to do, and why, ask for
feedback early, code out loud
use the pair programming ping pong pattern
visualize => sequence diagrams
give feedback regularly => 320 feedback techniques, sh!t sandwitch
slice thinly, it will boost confidence (plan well, whiteboard)
##EXERCISE: Pair slice a story, must have 8 to 18 steps : Alistair Cockburn
Elephant Carpaccio
#6 - Personalities challenges
Profiling can help you know how to be a better pair if you can’t read
people
Lots of profiling tools out there, those aimed at interaction are obviously
a better choice, ex: DIsC
Remote pairing => tools sharing screen can make the experience awesome (ex:
screen hero)

Mais conteúdo relacionado

Semelhante a Pairing notes.md

Semelhante a Pairing notes.md (20)

The Power of Retrospection
The Power of RetrospectionThe Power of Retrospection
The Power of Retrospection
 
Tips n' Tricks - Sprint Review
Tips n' Tricks - Sprint ReviewTips n' Tricks - Sprint Review
Tips n' Tricks - Sprint Review
 
Building software vs programming
Building software vs programmingBuilding software vs programming
Building software vs programming
 
Reviving Retrospectives
Reviving RetrospectivesReviving Retrospectives
Reviving Retrospectives
 
Code Retreat
Code RetreatCode Retreat
Code Retreat
 
Mob programming - Without the Torches and Pitchforks
Mob programming - Without the Torches and PitchforksMob programming - Without the Torches and Pitchforks
Mob programming - Without the Torches and Pitchforks
 
20161028 pairing - roni greenwood
20161028 pairing - roni greenwood20161028 pairing - roni greenwood
20161028 pairing - roni greenwood
 
Approaches to teaching primary computing
Approaches to teaching primary computingApproaches to teaching primary computing
Approaches to teaching primary computing
 
Pair Programming in Theory and Practice By Garrick West
Pair Programming in Theory and Practice By Garrick WestPair Programming in Theory and Practice By Garrick West
Pair Programming in Theory and Practice By Garrick West
 
Mob Programming : How To Never Stop Producing Value - Scrum Gathering Talk 03...
Mob Programming : How To Never Stop Producing Value - Scrum Gathering Talk 03...Mob Programming : How To Never Stop Producing Value - Scrum Gathering Talk 03...
Mob Programming : How To Never Stop Producing Value - Scrum Gathering Talk 03...
 
Power of the Swarm - Agile Serbia Conference 2017
Power of the Swarm - Agile Serbia Conference 2017Power of the Swarm - Agile Serbia Conference 2017
Power of the Swarm - Agile Serbia Conference 2017
 
How to make your retrospectives the heart of your agile proces
How to make your retrospectives the heart of your agile procesHow to make your retrospectives the heart of your agile proces
How to make your retrospectives the heart of your agile proces
 
Pair Programming - Be the best pair you can be.
Pair Programming - Be the best pair you can be.Pair Programming - Be the best pair you can be.
Pair Programming - Be the best pair you can be.
 
CALPACT seminar in Oakland, CA
CALPACT seminar in Oakland, CACALPACT seminar in Oakland, CA
CALPACT seminar in Oakland, CA
 
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
 
Pair Programming
Pair ProgrammingPair Programming
Pair Programming
 
Pragmatic guide to AB testing - Agile and Automation days 2019
Pragmatic guide to AB testing - Agile and Automation days 2019Pragmatic guide to AB testing - Agile and Automation days 2019
Pragmatic guide to AB testing - Agile and Automation days 2019
 
Pair programming- Mariusz Kozieł
Pair programming- Mariusz KoziełPair programming- Mariusz Kozieł
Pair programming- Mariusz Kozieł
 
Team up
Team upTeam up
Team up
 
Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020
 

Último

AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Último (20)

Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 

Pairing notes.md

  • 1. #1 - What is pair programming? 1 driver + 1 navigator “two people working together at a single computer”. Extreme Programming (XP) #2 - Benefits: why pair programming? (workshop write on board, or sticky notes) better code => pair pressure (don’t let the other down) => code and fix natural tendency (slot machine example) learning sharing knowledge better thinking: two brains are better than one, bouncing ideas Rubber duck debugging or the expert theory (deep questions) there is ALWAYS something to learn, to teach. become better at articulating your thoughts reduction in coordination efforts managing N/2 divs => managerial argument Improved resiliency to interruptions (although potential internal interruptions) But we have code reviews… => choices have already been made that could have been better with another brain, chances to influence these choices are gone. #3 - How to pair program? 1 Driver, 1 Navigator Every fifteen minutes or so (or a full pomodoro), the pair switches roles by sliding the keyboard over Ping pong with TDD : write test, other implements and write another test ##EXERCISE: Pair draw a landscape with life (any kind of life) => Pen switches hand every 3 minutes. #4 - Challenges, pitfalls of pair programming (workshop write on board, or sticky notes) passivity: active engagement at all times running commentary going silent => programming out loud fear (of judgement, fixed mindset) lack of confidence, imposter syndrome intrusion on personal space => use pomodoro, timeout pairing is NOT mentoring, both should be considered equal remote pairing culture #5 - How to improve the experience? (workshop write on board, or sticky notes) ##Abstract: make each other look good : Agile Australia the Spark team No blocking No wimping No hogging adopt a growth mindset : Agile Australia Peter Heslin - leveraging mindsets for effective leadership example with kids exercise : you are smart vs you worked hard embrace ambiguity give space be humble and accessible forget pride, it will only get in the way => equals don’t judge use empathy, be compassionate don’t fear/induce fear -> avoid bashing ##Concrete: personal hygiene alternate to find the speed of the pair, ideally a bit faster than the slower use pomodoro/timeout to ensure you have breaks, enjoy short break together, long break separately. discuss all the things : announce what you intend to do, and why, ask for
  • 2. feedback early, code out loud use the pair programming ping pong pattern visualize => sequence diagrams give feedback regularly => 320 feedback techniques, sh!t sandwitch slice thinly, it will boost confidence (plan well, whiteboard) ##EXERCISE: Pair slice a story, must have 8 to 18 steps : Alistair Cockburn Elephant Carpaccio #6 - Personalities challenges Profiling can help you know how to be a better pair if you can’t read people Lots of profiling tools out there, those aimed at interaction are obviously a better choice, ex: DIsC Remote pairing => tools sharing screen can make the experience awesome (ex: screen hero)