comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@acm.org>
To: comp.lang.ada@ada-france.org
Subject: Re: Writing changelog entries
Date: 07 Jan 2005 21:12:59 -0500
Date: 2005-01-07T21:12:59-05:00	[thread overview]
Message-ID: <mailman.37.1105150405.527.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <sa48y74n7bq.fsf@snoopy.apana.org.au>

Brian May <bam@snoopy.apana.org.au> writes:

> You should be documenting *why* changes are made so you don't have to
> reinvent the wheel every time you encounter the same problem again.

If you document why the code is the way it is, _and_ why it is not
some other way that you considered, you can terminate the perpetual
changes. 

Such documentation belongs in the code as comments if it is short
enough, or in a separate design document, with a reference in the
code. 

> Comments in the code only really describe what the code does (or
> more precisely: what it is meant to do), not why a change was made.
> Yes, you could document a complete history of why you made every
> change as comments in the source code, a changelog file would appear
> to be better suited for the purpose though.

Change logs are not design documents.

-- 
-- Stephe




  reply	other threads:[~2005-01-08  2:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-04 20:31 Writing changelog entries Florian Weimer
2005-01-04 23:51 ` Randy Brukardt
2005-01-05  0:28 ` Stephen Leake
2005-01-05  0:47   ` Florian Weimer
2005-01-05  2:02     ` Stephen Leake
2005-01-06 20:19     ` Randy Brukardt
2005-01-07 23:32       ` Brian May
2005-01-08  2:12         ` Stephen Leake [this message]
2005-01-10 20:57         ` Randy Brukardt
2005-01-05 12:31   ` Pascal Obry
2005-01-05 23:29     ` Stephen Leake
2005-01-06 17:51       ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox