The document discusses pair programming and compares it to solo programming. Solo programming involves a single person taking on all development roles alone, which can lead to high error rates, low productivity, and frustration. Pair programming involves two developers sharing a workstation, with one typing - the "driver" - while the other reviews the work and identifies errors or opportunities - the "navigator." Benefits of pair programming include learning from each other, improved quality through peer review, and increased enjoyment of the work. While not suited to all people, pair programming generally results in higher productivity and more reliable code compared to solo programming.
1. Pair Programmingtakes out Frustration Presented by: ProsunjitBiswas Teaching Assitant Dept of Computer Science University of Texas at San Antonio Email: prosun.csedu@gmail.com
2. Outline … Solo Programming Problems with Solo Programming Introduction to Pair Programming Elements of Pair Programming Advantages of Pair Programming Problems with Pair Programming Comparison between Solo & Pair Programming 4/26/2011 2 of 10 Presented @ UTSA, MS Building 2.08B
3. Before we get to know Pair Programming we will define Solo Programming 4/26/2011 Presented @ UTSA, MS Building 2.08B 3
4. Solo Programming is programming just by one person taking every responsibility of design, analysis and implementation by himself/herself. 4/26/2011 Presented @ UTSA, MS Building 2.08B 4
5. But the risks of Solo Programming are 4/26/2011 Presented @ UTSA, MS Building 2.08B 5
6. I. High Error Rate 4/26/2011 6 of 10 Presented @ UTSA, MS Building 2.08B
7. 4/26/2011 7 of 10 Presented @ UTSA, MS Building 2.08B II. Low Productivity
9. Here comes Pair Programming. 4/26/2011 Presented @ UTSA, MS Building 2.08B 9
10. In pair programming two persons are doing all programming tasks ( Design, analysis and implementation) sitting on one computer , sharing one keyboard– one doing the task and the other assisting the former. 4/26/2011 Presented @ UTSA, MS Building 2.08B 10
11. 1. Navigator 2. Driver 4/26/2011 11 of 10 Presented @ UTSA, MS Building 2.08B Elements of Pair Programming
12. Driver & Navigator in Action 4/26/2011 12 of 10 Presented @ UTSA, MS Building 2.08B
13. I. Learn from each other 4/26/2011 13 of 10 Presented @ UTSA, MS Building 2.08B Advantages of Pair Programming
14. II. Improved Quality 4/26/2011 14 of 10 Presented @ UTSA, MS Building 2.08B Advantages of Pair Programming …
15. III. Fast & Accurate 4/26/2011 15 of 10 Presented @ UTSA, MS Building 2.08B Advantages of Pair Programming …
16. IV. Happy Programming 4/26/2011 16 of 10 Presented @ UTSA, MS Building 2.08B Advantages of Pair Programming …
17. But … Some People cannot make it (1). 4/26/2011 17 of 10 Presented @ UTSA, MS Building 2.08B
18. Some People cannot make it (2). 4/26/2011 18 of 10 Presented @ UTSA, MS Building 2.08B
19. Pair Programming Vs Solo Programming Pair Programming Solo Programming 1. Two person particip- 1. One person ating in programming programming. same time. 2. Improved productivity 2. Less productive reliability. & error prone 4/26/2011 Presented @ UTSA, MS Building 2.08B 19