std.experiemental

Seb seb at wilzba.ch
Tue May 14 13:42:04 UTC 2019


On Tuesday, 14 May 2019 at 12:21:57 UTC, Alex wrote:
> Seems to be an issue about changing it.
>
> Why not just change the name
>
> std.experimental->std.experimental2
>
> and people that have code just need to do a mass module change 
> ("import std.experimental" -> import std.experimental2;")
>
> This then does break backwards compatibility but is a simple 
> bridge to solve the problem.
>
> By having some type of versioning one could report when someone 
> uses a new module that will break old code.
>
> Could use dates
>
> module std.experimental_04_05_2019;
>
> Then one simply has to import it by date. This separates all 
> experimental and allows backwards compatibility and solves 
> future issues.

Or just use Dub which allows to use the proper solution to this: 
semantic versioning.

This is what we did once it became clear that breaking changes 
are hard - even for std.experimental.


More information about the Digitalmars-d mailing list