Thoughts on versioning
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Oct 26 14:43:19 UTC 2021
On 10/26/21 3:18 AM, Andrea Fontana wrote:
> On Tuesday, 26 October 2021 at 01:19:29 UTC, Andrei Alexandrescu wrote:
>> [...]
>
> Probably not the best idea but also this should work:
>
> std.... >
>
> version(NEW)
> {
> .....
> }
> else
> {
> ....
> }
>
> std2...>
>
> version = NEW
This will grow with the number of releases.
I regret I forgot to mention in the initial post that we're not looking
at v2. We're looking at v2, v3, v4, ... released e.g. at an annual or
trienal pace. It's the having a fish vs. knowing how to fish problem.
More information about the Digitalmars-d
mailing list