This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Deprecation
- To: Mikael Djurfeldt <djurfeldt at nada dot kth dot se>
- Subject: Re: Deprecation
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Thu, 25 May 2000 11:54:06 +0200 (MEST)
- cc: guile at sourceware dot cygnus dot com
On Wed, 24 May 2000, Mikael Djurfeldt wrote:
> When deprecating a thing, we should
>
> 1. Mark it the way you have invented
>
> 2. Write a comment at the location of its definition about what to use
> instead
Can we say that it would also be sufficient to define the deprecated
function in terms of the new method? like:
#define SCM_CPLXP(x) SCM_COMPLEXP(x)
I don't think that this requires an additional comment.
Otherwise, I fully agree with you. I will add the corresponding entries
soon. Fortunately, they are easy to find with the new system, so we gain
another benefit: When it comes to a new release, it's easy to check if
everything that is deprecated is actually noted in NEWS and RELEASE.
Best regards
Dirk