Sherlock Holmes and Pairing @Romanian Testing Conference 2014 05 15

Embed Size (px)

Citation preview

Sherlock HolmesAndPairing

www.mozaicworks.com

Me

Adi BolboacProgrammerOrganizational & TechnicalTrainer & Coach

www.mozaicworks.com

Pairing. Why. When.

Do you pair?Why do you pair?How often?

www.mozaicworks.com

Pairing roles

DriverNavigator

www.mozaicworks.com

Driver

Takes the decisionsConsults with the NavigatorFocuses on short term actionsVerbalizes all the performed actions

www.mozaicworks.com

Navigator

Looks ahead for strategyAnnoyingly rechecks the facts of the DriverAsks meaningful questionsVerbalizes agreement or disagreementDoes not cross the Driver's comfort zone

www.mozaicworks.com

Holmes & Watson pairing

www.mozaicworks.com

Holmes driving: action

Holmes took his revolver from his drawer and slipped it in his pocket. It was clear that he thought that our night's work might be a serious one.Sherlock Holmes

www.mozaicworks.com

Holmes driving: data

Data! Data! Data! he cried impatiently. I can't make bricks without clay.

There is nothing more deceptive than an obvious fact.

Sherlock Holmes

www.mozaicworks.com

Watson being a Navigator

If I irritated him by a certain methodical slowness in my mentality, that irritation served only to make his own flame-like intuitions and impressions flash up the more vividly and swiftly

Dr. Watson

www.mozaicworks.com

Watson navigating: Facts

The navigator remembers facts to the driver The navigator supports driver's decisionsThe navigator needs to see options aheadProcessing data is hard for navigation

www.mozaicworks.com

Holmes & Watson: Learning

Education never ends, Watson. It is a series of lessons, with the greatest for the last.Sherlock Holmes

"I have not lived for years with Sherlock Holmes for nothing."

Dr. Watson

www.mozaicworks.com

Holmes & Watson: Recap

www.mozaicworks.com

Holmes & Watson: Recap

Drive or NavigateObserve well. Verbalize. Give meaningful suggestionsBeing a navigator is hardPairing is learning

www.mozaicworks.com

Some pairing ideas

Pair-programming (with testers also)Pair-facilitationPair-talkingPair-writing (collective text ownership)

www.mozaicworks.com

Pair-programming

www.mozaicworks.com

Pair-programming

Can be done anywhere: office, pub, etcChange roles/keyboard very oftenOutcomes: learning, better productsFastest feedback cycle in AgileCan be difficult

www.mozaicworks.com

Pair-testing

Focus on destoying the appFind sneaky ways the system might crashChange roles of driver and navigatorOutcomes: learning, better testsCan be difficult as well

www.mozaicworks.com

Pair-programming: Navigator

Adi tells story of Ron Jeffries being a navigator

www.mozaicworks.com

Pair-facilitation

Can be done by anyoneJust ask someone to pair when facilitatingOutcome: learn better your skillsOutcome: be a better listenerOutcome: simplify&clarify your explanations

www.mozaicworks.com

Pair-talking

Fast feedback on contentOutcome: the talk has better contentOutcome: learn a lot from your pairOutcome: you learn more from audience

www.mozaicworks.com

Pair-writing

www.mozaicworks.com

Pair-writing

Easier to start writingThe book can be finished fasterFast feedback on contentLearning opportunity from your pair

www.mozaicworks.com

Pairing

Did I inspire you to pair?What other ideas for paring do you have?When would you start paring?

www.mozaicworks.com

And the last question

Do you ever pair with your CEO?

www.mozaicworks.com

Want to learn more?

Read more about pair-programming gameson http://blog.adrianbolboaca.ro

www.mozaicworks.com

Thank you!

The slides will be available on Slideshare&Twitter

Questions?

www.mozaicworks.com

Contact me

Unit testing workshopRemote pair-programmingTDD workshopRefactoring workshopLegacy code workshopLegacy code retreatCode retreat

@adibolb

www.mozaicworks.com

http://www.mozaicworks.com [email protected]@adibolb

Extend your mentoring & training capacityAccelerate learning through communities of practiceGrow your functional leaders and top talents

www.mozaicworks.com

Images

http://img.thesun.co.uk/aidemitlum/archive/01090/SNF2301TVCC-380_1090987a.jpg http://en.wikipedia.org/wiki/File:Paget_holmes.png

http://seanbanville.com/wp-content/uploads/2010/04/writing.jpg

http://agile2012.agilealliance.org/files/5113/3529/2537/Ron_Jeffries-nobull.jpg

www.mozaicworks.com