This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Deprecation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]