Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
© 2024 CGI Inc. 1 Pair Programming Maaret Pyhäjärvi December 2024
Slide 2
Slide 2 text
© 2024 CGI Inc. 2 If you want to go fast, go alone. If you want to go far, go together. 2
Slide 3
Slide 3 text
© 2024 CGI Inc. 3 Traditional vs. Strong-Style Pairing 3
Slide 4
Slide 4 text
© 2024 CGI Inc. 4 Traditional pairing 4 Driver Navigator print(“Pair Programming”) I have an idea, please give me the keyboard.
Slide 5
Slide 5 text
© 2024 CGI Inc. 5 Strong style pairing 5 Driver Navigator print(“Pair Programming”) I have an idea, please take the keyboard.
Slide 6
Slide 6 text
© 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
Slide 7
Slide 7 text
© 2024 CGI Inc. 7 When developers like each other, code review is known as pair programming. 7
Slide 8
Slide 8 text
© 2024 CGI Inc. 8 Quality When you work solo…
Slide 9
Slide 9 text
© 2024 CGI Inc. 9 Quality Getting the best out of you (not the most) ..and when you pair
Slide 10
Slide 10 text
© 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
Slide 11
Slide 11 text
© 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
Slide 12
Slide 12 text
© 2024 CGI Inc. 12 Collaboration over co-creation 12 Farming over hunting
Slide 13
Slide 13 text
© 2024 CGI Inc. 13 Selection of tips …with proposals for simple practice 13
Slide 14
Slide 14 text
© 2024 CGI Inc. 14 Navigate on highest level of abstraction Intent Location Details
Slide 15
Slide 15 text
© 2024 CGI Inc. 15 = vs. == assign vs. compare
Slide 16
Slide 16 text
© 2024 CGI Inc. 16 Feeding the driver Photo by Tanaphong Toochinda on Unsplash
Slide 17
Slide 17 text
© 2024 CGI Inc. 17 Establishing Trust Photo by Andrik Langfield on Unsplash
Slide 18
Slide 18 text
© 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".
Slide 19
Slide 19 text
© 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.
Slide 20
Slide 20 text
© 2024 CGI Inc. 20 Rules of Pairing Try it Yes, and… Do first, explain later Look for wins
Slide 21
Slide 21 text
© 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
Slide 22
Slide 22 text
© 2024 CGI Inc. 22 When you pair on Hard problem è Solution Easy problem è Innovation
Slide 23
Slide 23 text
© 2024 CGI Inc. 23 Switching on time on task on idea
Slide 24
Slide 24 text
© 2024 CGI Inc. 24 Traditional Pair Programming Problems Can’t keep up Slows me down Disengaged Ownership / Self worth Scary Hogging the keyboard
Slide 25
Slide 25 text
© 2024 CGI Inc. 25 Photo by Elias Morr on Unsplash Why are there no baby dinosaurs? 5/12 identified types did not exist. 25
Slide 26
Slide 26 text
© 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