Re: XP and Pair Programming
- From: "H. S. Lahman" <h.lahman@xxxxxxxxxxx>
- Date: Mon, 29 Aug 2005 17:45:57 GMT
Responding to Phlip...
Does that say I'm incompetent to review? or that reviewing is a diversity-challenged technique?
There is no doubt that reviewing other people's work is a learned skill.
Thank you for identifying the third option ;-)
I don't see it as an option. The skill has to be there regardless of the nature of the review.
But the techniques are no different than those employed in pair programming to identify errors, bad coding practices, blind spots, and whatnot. If you can do it in a pair situation you should be able to do it in any review situation.
Actually finding bugs is best done by having multiple screens, even when coverage overlaps. IOW, a review is just a form of test. Each view of the application represents a different screen for review purposes so the more views there are besides the code itself, the more reliable the application will tend to be. Those views also provide the different perspectives that you seek.
This discussion neglects one terrific and completely anecdotal aspect of pairing. Naturally, the odds of resulting bugs goes down. However, the rate at which one pair exclaims and points, "Ooh, there's a bug!" goes way down too.
You are going to have to put more words around this. It seems to me that the ability to identify errors, bad practices, etc. effectively in other's or one's own work has, at most, a very tenuous relationship to the mechanics of the review process.
[OTOH, the review subject matter can make a big difference for certain types of problems. For example, it is much easier to find fundamental design problems in a UML model than in 3GL code simply due to the relative compactness and level of abstraction but a UML model is pretty inefficient for identifying dependency management problems.]
To leverage our synergies, the learned reviewing behavior is of course very important. (Kelly and Brad paired all day, then I land on their design like a hawk landing on a rabbit, and kick its guts out with one sweep of my talons.) In terms of teamwork, I review what I know how to, and others review what they know how to.
That's just a matter of applying the correct review mechanics for the subject matter in hand. If such specialization works for a given environment, then fine. IOW, it is really a process issue.
The spontaneous bug-suppression effort is very important, and part of pair programming's full effect. I don't think it's transferable to review-last.
I don't know what you mean by "review-last".
************* There is nothing wrong with me that could not be cured by a capful of Drano.
H. S. Lahman hsl@xxxxxxxxxxxxxxxxx Pathfinder Solutions -- Put MDA to Work http://www.pathfindermda.com blog: http://pathfinderpeople.blogs.com/hslahman (888)OOA-PATH
.
- Follow-Ups:
- Re: XP and Pair Programming
- From: Phlip
- Re: XP and Pair Programming
- References:
- XP and Pair Programming
- From: Ashima
- Re: XP and Pair Programming
- From: christian9997
- Re: XP and Pair Programming
- From: Nick Malik [Microsoft]
- Re: XP and Pair Programming
- From: Christopher Barber
- Re: XP and Pair Programming
- From: Robert C . Martin
- Re: XP and Pair Programming
- From: H. S. Lahman
- Re: XP and Pair Programming
- From: Phlip
- Re: XP and Pair Programming
- From: H. S. Lahman
- Re: XP and Pair Programming
- From: Phlip
- XP and Pair Programming
- Prev by Date: Re: chooses not to generate code at all
- Next by Date: Re: XP and Pair Programming
- Previous by thread: Re: XP and Pair Programming
- Next by thread: Re: XP and Pair Programming
- Index(es):
Relevant Pages
|