----Original Message----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, September 30, 2005 8:31 AM
To: [email protected]
Subject: Re: [U2] Good Programming Practice Question.........

> Gee, I agree with your SOX auditors?!?!?!  I feel a little queasy.
> 
> I have been trying to get old code, test programs and trash
> out of the
> production program files.  I've been moving the source, but
> leaving and
> object alone.   Good thing I didn't remove the object.
> Turned out that
> PROGRAMNAME wasn't the live program, PROGRAMNAME.JEFF was the live
> program. Standards may be a pain, not having standards is worse.

This is the sort of thing that happens w/o SCC.  When each programmer has
their own sandbox, and they have to check out/in program versions, and there
is a Release process for putting the latest revision into production, then
you only have one object file to worry about, and it's obvious if the source
doesn't match the object.

One other practice comes to mind.  It's a good idea if the "revision" of
each program is assigned to a variable in the program.  For RCS, this is as
simple as:

        REVISION = "$Revision$"

which gets transmuted to:

        REVISION = "$Revision:1.O$"

or the like.  [YMMV]  The point is, you can always interrogate the variable
in the debugger, even if you never output it anywhere.  And if you can't
debug it, I believe it's even visible as a string in the object file.

-Keith
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to