Re: TDD and Refactoring
From: Ron Jeffries (ronjeffries_at_REMOVEacm.org)
Date: 12/26/03
- Next message: Ron Jeffries: "Re: TDD and Refactoring"
- Previous message: Ron Jeffries: "Re: The Sort Excercise"
- In reply to: Harry Erwin: "Re: TDD and Refactoring"
- Next in thread: Harry Erwin: "Re: TDD and Refactoring"
- Reply: Harry Erwin: "Re: TDD and Refactoring"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Dec 2003 07:10:11 -0500
On Fri, 26 Dec 2003 09:34:26 +0000, herwin@theworld.com (Harry Erwin) wrote:
>> Replacing temp with query, I would say, does not increase complexity: there's
>> exactly one query per temp. Perhaps I'm missing something.
>
>You replace an expression with a method.
Yes. I'm not clear on why you feel that that increases complexity. It does add a
method. But in many cases, it seems to me, using that refactoring decreases
complexity, particularly in the form of coupling. Otherwise, why would we do it?
-- Ronald E Jeffries http://www.XProgramming.com http://www.objectmentor.com I'm giving the best advice I have. You get to decide whether it's true for you.
- Next message: Ron Jeffries: "Re: TDD and Refactoring"
- Previous message: Ron Jeffries: "Re: The Sort Excercise"
- In reply to: Harry Erwin: "Re: TDD and Refactoring"
- Next in thread: Harry Erwin: "Re: TDD and Refactoring"
- Reply: Harry Erwin: "Re: TDD and Refactoring"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|