Thoughts on versioning

Adam D Ruppe destructionator at gmail.com
Tue Oct 26 11:08:20 UTC 2021


On Tuesday, 26 October 2021 at 07:04:31 UTC, Sebastiaan Koppe 
wrote:
> On Tuesday, 26 October 2021 at 06:03:38 UTC, sarn wrote:
>> On Tuesday, 26 October 2021 at 01:19:29 UTC, Andrei 
>> Alexandrescu wrote:
>>> Goals of library versioning:
>>>
>>> - avoid copy-and-paste code duplication across versions
>> This might be overengineering.  Unless new features are going 
>> to be backported to the original std, is there anything wrong 
>> with just forking std to std2?
>
> Yeah, I kind of agree there, just copy the stuff. Simple and 
> effective; no crazy mixins or module aliases.

Yeah, this "no copy paste" is a bad requirement that is 
stonewalling the proposal.

If the concern is about backporting bug fixes, git can handle 
that semi-automatically (and it can be fully automated in many 
cases by a PR hook script) since it knows the common ancestor.


More information about the Digitalmars-d mailing list