info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: refactoring when using CVS


From: Noel Yap
Subject: RE: refactoring when using CVS
Date: Thu, 21 Feb 2002 14:46:53 -0800 (PST)

--- "Greg A. Woods" <address@hidden> wrote:
> [ On Thursday, February 21, 2002 at 12:59:06
> (-0800), Noel Yap wrote: ]
> > AFAIK, XP promotes "Refactor early, refactor
> often." 
> > If so, and given Greg's premise that
> refactorisation
> > should be rare and well-thought-out, then CVS
> isn't
> > good for within an XP environment.
> 
> Hmmm... but in an eXtreme Pogramming environment you
> won't be checking
> things into CVS until they bloody well work now will
> you!
> 
> I.e. refactor early, get it right, then check it in.

You left out the refactor often.

> When doing XP you'll probably only want to be using
> something like CVS
> to maintain already developed code, not to track
> every daily nuance of
> your initial development effort on new code.  XP has
> other ways to deal
> with change management during the initial authoring
> of a program or some
> component of a larger program -- indeed that's one
> of the main reasons
> for doing things the XP way in the first place!

So now you're saying CVS is also no good for initial
development under XP.  CVS is getting nichier by the
moment.

> If you're using XP methods for maintenance of
> existing code then you'd
> damn well better skip the refactoring step or you'll
> only cause yourself
> (and your partner) some MAJOR headaches! 
> (regardless of what the
> refactoring may or may not affect the file
> structure!)

I really don't understand your post.  XP promotes
rapid, quick iterations.  Each iteration includes
design.  Design includes refactoring.  Therefore, you
cannot have XP without refactoring when necessary.

> Refactoring code during mainenance must only be done
> with extreme care
> and a good deal of planning.  XP or no XP.  CVS or
> no CVS.

I don't think anyone is suggesting willy-nilly
refactoring.  But the fact remains that XP includes
constant refactoring.  This refactoring typically
includes renaming and moving of files.  CVS doesn't
support such a feature.  Therefore, CVS is not ideal
for XP.

Noel

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]