[ next ] [ prev ] [ contents ] XP-Cinti TDD Workshop

Reflections

Historical Accuracy

As I reproduced the tests from Tuesday night (7/Jan/02), I tried to present them as I remember them. I suspect some were presented out of order, but overall effect was the same. I explicitly point out the one place I delibrately deviated from Tuesdays work, but the end result was the same.

It is interesting to compare the end results of this reproduction and the original code. The application code itself turned out to be more or less the same with only minor differences. The unit tests, however, do have some significant differences. It would be interesting to compare them in some detail.

Alternative Implementations

As I was reimplementing the stories, I had some thoughts on story two. Mark and I radically changed our method names for this story. It occurs to me that there was an alternative approach to this.

Keep the tie and untie methods, but add a parameter to denote the color of the knot. untie could untie any color of knot. tied? still still return true if a knot of any color was tied at the intersection.

Did anyone take this approach?

Feedback

If anyone has questions or comments on this, feel free to discuss it on the XP-Cinti mailing list. Or if you desire, you can mail me directly at jim@weirichhouse.org.


[ next ] [ prev ] [ contents ] Copyright 2003 by Jim Weirich.
Some Rights Reserved