Re: XP and Pair Programming
- From: "H. S. Lahman" <h.lahman@xxxxxxxxxxx>
- Date: Sun, 28 Aug 2005 18:06:42 GMT
Responding to Phlip...
While I agree that there is no free lunch and reviewer effort is significant, especially in aggregate, I can't agree with the 1:1 metric per reviewer. It is much easier to critique something with intellectual content that already exists than it is to create it. I've reviewed specs, models, and code that took days or weeks to create with a few hours effort on my part.
I'm very good at pairing and I suck at that kind of reviewing.
Pair programming is just a form of interactive review.
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. 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.
I drift off. I get bored. And I won't delay reviewing by asking the most important question: This code is nice _statically_, but what's its _dynamic_ profile? Show me how to change it along its OCP boundaries? What new tests would I write? Could I simplify it, to bring it closer to its ideal?
Then such reviewing also denies my opportunities to improve its bug resistance. This opens the question "where did those weeks go?"
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.
************* 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: paul campbell
- Re: XP and Pair Programming
- From: Robert C . Martin
- 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
- 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
|