Gary Bernhardt submitted his position paper for Simple Design and Testing Conference, which runs during my TDD course in Istanbul, so I can’t attend it. I had to comment on this:
[In my TDD practice with test doubles I’ve] [f]ound that, now that all code is 100% isolated, it’s almost impossible to refactor across classes with confidence unless I totally rewrite them.
I interpret his comment as though that disappoints him. I invite Gary, and you, to consider an alternative interpretation:
Naturally, I’d need to see a specific example to better understand Gary’s perspective, but my blink reaction tells me that more incremental rewriting and less refactoring doesn’t necessarily point to a problem.
11 months ago