[Top][All Lists]

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

Re: Deprecate vs. discourage

From: Neil Jerram
Subject: Re: Deprecate vs. discourage
Date: Thu, 28 Jan 2010 22:35:38 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Hi Neil,
> Neil Jerram <address@hidden> writes:
>> address@hidden (Ludovic Courtès) writes:
>>> That’s what had been done for these functions but libguile also supports
>>> ‘discouraged’ features.
>> I never really saw the case for two levels of deprecation
>> (i.e. `discouraged' and `deprecated').  I thought `deprecated' on its
>> own was enough.
> I think I get your point.  OTOH, I felt that /deprecating/
> ‘uniform-vector-{read-write}’ might be a bit strong, as it will annoy
> people who’ve been using them even though these functions are harmless.
> What do you think?

If we had a perfect manual, the recommended way to do something would be
documented there, and people writing new code would use that and so
naturally use what we currently believe to be the best thing.

If something like uniform-vector-xxx stops being the recommended
approach, but remains trivial for us to support in the codebase, I think
it is enough `discouragement' just to remove it from the manual.  That
will make it less likely to be used in new code.

I think we should use the formal deprecation mechanism for something
when it becomes a burden (of any kind) for us to continue support that
thing in the codebase, or when we have a good reason to believe that it
will become a burden soon.

Does that make sense?

> Thanks,
> Ludo’.


reply via email to

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