guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deprecate vs. discourage


From: Andy Wingo
Subject: Re: Deprecate vs. discourage
Date: Wed, 27 Jan 2010 01:18:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

Hej,

On Tue 26 Jan 2010 23:15, address@hidden (Ludovic Courtès) writes:

> I think things like ‘uniform-vector-read’ should be discouraged rather
> than deprecated, since it matches the definition in ‘discouraged.h’:
>
>    A discouraged feature is one that shouldn't be used in new code
>    since we have a better alternative now.  However, there is nothing
>    wrong with using the old feature, so it is OK to continue to use
>    it.
>
> However, discouraged features currently don’t produce any sort of
> warning.  I would suggest using the same technique as
> ‘build-aux/link-warning.h’ to issue a link-time warning.
>
> What do you think?

Sounds good to me :)

Andy
-- 
http://wingolog.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]