[clean-list] Re: Refactoring Clean Applications

Corrin Lakeland lakeland@freki.otago.ac.nz
Wed, 9 May 2001 08:55:39 +1200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> So should CVS be extended with such features, or should the IDE?

These are entirely IDE issues.  CVS can't tell a function call from a 
comment, so it couldn't possibly be extended to generate call graphs.  I use 
CVS to manage my code, and any papers I write, there is no difference between 
the two from CVS's perspective:  Both are text files that get lines added and 
deleted.

The purpose of CVS is to manage multiple versions of the a file.  There are 
other version control systems (e.g. PRCS) which may be more useful here, but 
really the kinds of operations you're talking about apply to a single version 
of a file so you wouldn't get any benefit from tying them with version 
control software.

CVS is great for:
	fast, reliable incremental backups.
	Looking at how you did things before some major change.  Perhaps you deleted 
		some function and later it occurred to you you could reuse some code from 		
		the function.
	Working on two computers such as home, work or work, laptop. cvs update
		before you start, commit when you finish.  No more multiple versions
	Working with multiple people, again no more multiple versions
	Maintaining a stable and an unstable branch, where updates get applied to 
		only the unstable branch but bug fixes get applied to both.  If only
		microsoft would ever understand this concept...
	It is ok for looking at how your code is changing. how quickly it is
		changing, where the changes are typically happening.  who makes what 
		type of changes, etc.

If you can't formulate what you want to do in terms of these then CVS isn't 
the right tool to be modifying.

Corrin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6+F1O9o3gUBuxj/sRAl+sAJ4ggS8WgOvEVkRxi5AKfok9f0wgLwCgntSf
m1zonDc5/SHh3BOHg9HBsb4=
=glMx
-----END PGP SIGNATURE-----