Wednesday, December 21, 2005

Pragmatic development practices: Version Control

How many of you commit your code changes daily? I got wide-eyed recently when I found out that most of friends in software development business don't commit code daily. Committing code is done every other day or before the end of Friday evening. I am tempted to say that it's better to use a version control system than not using any at all, but it's kinda like saying you ought to open a bank saving account and save a few bucks every now and then. This won't work.

Consider this a warning sign If you answer "No" to any of the questions below.

1. Do you commit your code daily?

2. Do you lock your code when you checkout?

3. Does eveyone in your development team checkout/checkin code daily?

4. Do you always make sure that the code you check in has been tested (or compilable)?

5. Incomplete repository - this is as bad as committing code that doesn't compile.

I have been using Subversion and I'm think it's on of the tools that should be taught in college, along with build and bug/feature tracking software.

No comments: