Wednesday, August 30, 2006

Live longer with source control!

I confess, I made a bad mistake some time ago. I started to work on a project that had no proper source control system in place. Instead, zip files with source code were copied back and forth and merging was done manually using WinMerge. And I did not take a stand and say: "I want a source control system or I'm outta here!". Not that it would have helped, but it is the principle that counts.

As a result I spent at least two hours every week merging code. And then the risk that something would go wrong and I would need to spend at least another hour to find out what was going on and correct the problem! As I have the memory of a gold fish (*) those were the two hours I picked up the phone saying "I call you back!" only to put it down without taking the effort to notice who was calling. People could have said my boss was standing outside giving free money to whoever asked for it without me hearing them, let alone being interested. By Turing, what a stress!

Now I'm in a similar project situation where we do use a proper source control system, in this case Subversion. If they are using a source control system in Heaven, I'm sure it is Subversion. Although not flawless, but what a blessing it is! But if you are using CVS, that's OK too. And there are probably more cool source control systems that I don't know of, but since I don't know them, who cares.

By the way, did I already tell you I wrote a white paper about how to use CVS in combination with JDeveloper? No? OK, I wrote a white paper about how to use CVS in combination with JDeveloper. You can download it from OTN. It is based on JDeveloper 9.x and perhaps a little bit outdated, but it still explains the principles of source control and what it can do for you. JDeveloper 10.1.3 already offers much better integration, also with Subversion. I hope to be able to write a white paper about that too. Maybe it helps when you call my manager and tell him you want me to write it. Just say the word and I'll give you his phone number!

Anyway, the point I try to make here is this. The effort of installing a source control system like Subversion and maintain it, is only a fraction of the time people spend on things like manual merging. And then the risk of things going wrong. Come on project managers, you can do without that! It is hard to give you exact metrics, but based on experience I dare to say you already crossed the break-even point when two people worked together for a month. After that, you definitely keep money in your pocket. And the developers are happier too!

And once you have it, you suddenly realize it offers opportunities you were not aware of they existed before. Like going back to a previous version (for example the one that is in acceptance test) on instant, fix an issue there and almost with one click of the mouse go back to the current version and move on. Or find out who implemented that one great feature so you can give him or her the medal of honor of the programmer of the week!

I promised myself that next time they send me to a project where no proper version control is in place, I simply refuse saying that it's bad for my health. I advice you to do the same and tell your project manager I said so. I'm sure no further explanation will be needed.

(*) Actually, the saying 'having the memory of a gold fish' appears to do great injustice to this fellow creature. If it's true what they say at Goldfish pass memory test I would praise myself fortunate when I would have the memory of a gold fish.


Anonymous said...

I like a game which needs to use maple mesos, when you do not have
mesos, you must borrow
cheap mesos from friends, or you
maplestory mesos. If you get
maple story mesos, you can continue this game.

Anonymous said...

Online Pharmacy for Cialis, Levitra, Tamiflu, Viagra. Get Cheap Drugs online. Buy Pills Central.
[url=]Buy Top Quality Viagra, Cialis, Levitra, Tamiflu[/url]. rx generic drugs. Cheap pills pharmacy

Anonymous said...

But still, there are manifestly known companies which be entitled to seemly words and created an excuse cheap Cialis now reputation.

Anonymous said...

We are delighted that our company Acquire Viagra Discount Rather is sole of the first in the Internet, commonly, Cheap Discount Cialis Pharmacy On-line specializing on online pharmacy Cialis.

Anonymous said...

Today it's more fastidious to trust separate medical companies cheap Viagra now, especially those who present their meds online.

Unknown said...

good artticle
mengobati kemaluan pria bernanah tanpa ke dokter
cara mengobati kemaluan pria bernanah tanpa ke dokter
mengobati kemaluan pria yang bernanah tanpa ke dokter
mengobati kemaluan pria bernanah tanpa pergi ke dokter
mengobati kemaluan pria bernanah tanpa harus ke dokter

三重古天樂 said...

酒店經紀 酒店小姐 酒店經紀公司
台北酒店工作 台北酒店經紀人 酒店兼差 酒店兼職 酒店公關 酒店上班 台北酒店上班 酒店打工 酒店工作內容 酒店pt 台北酒店 便服店 禮服店 酒店 酒店工作 酒店上班時間 酒店上班薪水 酒店上班內容 現領 當日領 酒店經紀 酒店打工 酒店工作 酒店上班 酒店兼差 酒店兼職 打工兼差 打工兼職 台北酒店 酒店應徵 禮服店 酒店 經紀 打工 兼差便服店 台北酒店經紀 酒店薪水 酒店工作內容 酒店時間 酒店經濟 美式餐廳 咖啡廳
打工兼職 打工兼差 酒店營業時間
酒店經濟 酒店面試