130 likes | 142 Views
Sept 11, 2019. Pair Programming. Agenda. Preliminaries (8:30-8:40) Pair Programming Discussion (8:30-9:15) Continue Procedures Lab (9:15-9:45) Wrap-up (9:45-9:50). Preliminaries. ACM announcement Peer Support Events Thursday Extra Sept 12 th : 4pm: Snacks in the Commons!
E N D
Sept 11, 2019 Pair Programming
Agenda • Preliminaries (8:30-8:40) • Pair Programming Discussion (8:30-9:15) • Continue Procedures Lab (9:15-9:45) • Wrap-up (9:45-9:50)
Preliminaries • ACM announcement • Peer Support Events • Thursday Extra Sept 12th: • 4pm: Snacks in the Commons! • 4:15pm: Science 3821 • “A Just Society Needs Decentralized Tech: Building Online Voting Software at Vocdoni”
Pair Programming Discussion (8:30-9:15) • What are the names of the roles in a pair programming team? • What does each person do?
Pair Programming Discussion (8:30-9:15) • Driver: Keyboard, writing the code, code in front of them • Navigator: higher level thinking how the program should work, thinking ahead, checking for errors
Pair Programming Discussion (8:30-9:15) • Why do you think we ask you to work in pairs? • So both learn what is going on, spot typos quicker, learn syntax, driver gets used to typing • Different perspective, break out of specific thinking • Get unstuck faster, learn from each other • Get a better understanding of where you are compared to others • Expert programming theory, learn from explaining • Harder to pick up bad habits, someone is watching and keeping you honest • Keeps you responsible, have to meet and work on the project • Reminder that you will need to work with people no matter what you do • Can't rely on your partner doing all the work
Pair Programming Discussion (8:30-9:15) • You each have a card with a quote from a previous CSC 151 student • We’ll go around and you’ll each read your card out loud
Pair Programming Discussion (8:30-9:15) • Based on those quotes and/or your own experience so far: • What works well when pair programming? • What doesn’t work well when pair programming?
Works Well: • Listen to one another, don't try to overwhelm the other with own opinion • Pay attention to when coding to spot errors, but don't criticize • Open-minded, don't just shut down ideas • Communication for organizing a meeting and while together, suggest something even if you aren't sure • Be honest, what time you're free and where you are, when you don't understand • Properly explaining things you are having trouble with • Saying and idea even if you just have part of an idea • Should be a meritocracy • Questions are most important • Articulate your ideas clearly, if your partner doesn't understand, you aren't being clear! • Better to code when you are having fun
Doesn't work: • Scheduling: make sure you make time to meet with your partner, it's not only your time • Don't assert dominance even if you're more experienced • Important to switch up, make sure you can do the tasks independently too • Willing to work in the pair, not • Romantic entanglements • Discrimination • Not getting along with your partner, going to happen in the workforce! • Driver Passenger (should be a navigator)
Lab Time • Continue the Procedures lab • Lab Partner is partner for Assignment 3
Lab Time • Write up: • Exercise 8b and any procedures you wrote earlier that you use in 8b • To: csc151-01-grader@grinnell.edu • CC: your lab partner • Subject: [CSC 151-01] Procedures Exercise 8 • First line should be you and your partner’s names • Paste your procedures into the body of the email
Wrap-up • Upcoming Work: • Assignment 3 is up • Partner is your current lab partner • Read about documenting Scheme code for Friday • Submit your lab writeup by 10:30pm on Friday