From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Add Deprecated aspect to Ada 2020
Date: Wed, 30 Aug 2017 20:05:16 -0500
Date: 2017-08-30T20:05:16-05:00 [thread overview]
Message-ID: <oo7ncd$69k$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: onfcjn$utn$1@gioia.aioe.org
"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote in message
news:onfcjn$utn$1@gioia.aioe.org...
> On 2017-08-21 21:09, Per Sandberg wrote:
>
>> Its good to use to maintain backward compatibility while notifying the
>> users that they should change their code prior to stepping version of
>> that particular library.
>
> I disagree.
>
> If backward compatibility can be maintained there is no reason to remove
> the functionality. "Make it look better" does not count as one.
>
> If compatibility cannot be maintained, there is nothing to warn about, you
> just fix the bug before next release.
Yup. This is the exact policy that we apply to Claw. One never makes an
incompatibility that you don't have to, and that includes supporting old
interfaces essentially forever. Perhaps the documentation and/or comments
will suggest that new code not use the subprogram, but that's as far as we'd
go. (There's no way to prove no one still uses a particular subprogram,
after all, unless the entire system is in-house only.)
> You always can add new defaulted parameters, new subprograms, new packages
> without removing old ones. Even cases like rolling up security do not
> justify removal. You can always add backward compatible insecure mode.
Exactly. (Although the security case might be a justitification for an
incompatibility. But in that case it would be done immediately - no waiting
period.)
Randy.
next prev parent reply other threads:[~2017-08-31 1:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-19 18:52 Add Deprecated aspect to Ada 2020 Lucretia
2017-08-19 18:52 ` Simon Clubley
2017-08-19 18:54 ` Björn Lundin
2017-08-19 20:55 ` Jacob Sparre Andersen
2017-08-19 19:34 ` Dmitry A. Kazakov
2017-08-21 19:09 ` Per Sandberg
2017-08-21 19:34 ` Dmitry A. Kazakov
2017-08-22 5:47 ` J-P. Rosen
2017-08-22 7:38 ` Dmitry A. Kazakov
2017-08-22 19:32 ` Luke A. Guest
2017-08-22 20:04 ` Pascal Obry
2017-08-23 7:11 ` Dmitry A. Kazakov
2017-08-31 1:05 ` Randy Brukardt [this message]
2017-08-31 15:19 ` Lucretia
2017-09-01 0:13 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox