Share
Embed
Transcript
26 slides
-
© 2024 CGI Inc. 2 If you want to go
fast, go alone. If you want to go far, go together. 2 -
© 2024 CGI Inc. 4 Traditional pairing 4 Driver Navigator
print(“Pair Programming”) I have an idea, please give me the keyboard. -
© 2024 CGI Inc. 5 Strong style pairing 5 Driver
Navigator print(“Pair Programming”) I have an idea, please take the keyboard. -
© 2024 CGI Inc. 6 Strong Style Pairing “For an
idea to go from your head to the computer it must go though someone else’s hands” *http://llewellynfalco.blogspot.fi/2014/ 06/llewellyns-strong-style- pairing.html -
© 2024 CGI Inc. 7 When developers like each other,
code review is known as pair programming. 7 -
© 2024 CGI Inc. 9 Quality Getting the best out
of you (not the most) ..and when you pair -
© 2024 CGI Inc. 10 Let’s work on these 10
https://github.com/Felienne/PythonKoans Strong-style Fill in the blank Say what you learned Switch -
© 2024 CGI Inc. 11 Willingness to try new things
Planning to evolve our strategies Dealing with setback Feeling about being wrong MINDSET Established set of ideas, assumptions and beliefs See: Carol Dweck FIXED Static, like height Look good Avoid Defines your identity For those with no talent Helplessness GROWTH Can grow, like muscle To learn Seek and embrace Provides information Path to mastery Resilience ß à Ability Goal Challenge Failure Effort Reaction to challenge -
© 2024 CGI Inc. 13 Selection of tips …with proposals
for simple practice 13 -
© 2024 CGI Inc. 14 Navigate on highest level of
abstraction Intent Location Details -
© 2024 CGI Inc. 16 Feeding the driver Photo by
Tanaphong Toochinda on Unsplash -
© 2024 CGI Inc. 17 Establishing Trust Photo by Andrik
Langfield on Unsplash -
© 2024 CGI Inc. 18 Navigation Exercise If you are
working on a task or doing test-first development, it is very useful to have an example written on a whiteboard. The examples should be very simple, and only show one path at a time. This means you can not use conditional words like "or", "if", "depending", or "maybe". -
© 2024 CGI Inc. 19 Navigation Exercise If you are
working on a task or doing test-first development, it is very useful to have an example written on a whiteboard. The examples should be very simple, and only show one path at a time. This means you can not use conditional words like "or", "if", "depending", or "maybe". If there is an example, it might take many turns before its finished, and having it on the board will give guidance for the whole team on what they need to do as each new navigator takes over and continues on the task. Examples should make you feel like the person telling the example actually did the thing yesterday. -
© 2024 CGI Inc. 20 Rules of Pairing Try it
Yes, and… Do first, explain later Look for wins -
© 2024 CGI Inc. 21 Coding exercise (Fizz Buzz) 1,
2, Fizz, 4, Buzz, Fizz, 7, 8, Fizz, Buzz, 11, Fizz, 13, 14, FizzBuzz, 16, 17, Fizz, 19, Buzz -
© 2024 CGI Inc. 22 When you pair on Hard
problem è Solution Easy problem è Innovation -
© 2024 CGI Inc. 24 Traditional Pair Programming Problems Can’t
keep up Slows me down Disengaged Ownership / Self worth Scary Hogging the keyboard -
© 2024 CGI Inc. 25 Photo by Elias Morr on
Unsplash Why are there no baby dinosaurs? 5/12 identified types did not exist. 25 -
© 2024 CGI Inc. 26 Insights you can act on
Founded in 1976, CGI is among the largest IT and business consulting services firms in the world. We are insights-driven and outcomes-based to help accelerate returns on your investments. Across hundreds of locations worldwide, we provide comprehensive, scalable and sustainable IT and business consulting services that are informed globally and delivered locally. cgi.com