std.container: fork in the road

HaraldZealot via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 17 05:06:21 PDT 2015


On Wednesday, 17 June 2015 at 06:08:57 UTC, Andrei Alexandrescu 
wrote:
>
> Regarding compatibility, I see three possibilities:
>
> 1. Just keep the current spec and deal with it. Some containers 
> are and will remain garbage collected because they started as 
> such. Add new containers that are better alongside them.
>
> 2. Do break compatibility of containers, mainly by taking 
> advantage of them being under-documented. In a way we wouldn't 
> break much because not much has been specified. There are, 
> however, parts where we'd need to change specification.
>
> 3. Leave std.container alone and move forward with 
> std.experimental.collection. I am confident the language and 
> its endorsed idioms have reached enough maturity to not make 
> this addition into a regular event.
>
>
> Andrei

2 or 3

Better 3.

And I like idea to move std.container to std.deprecated container 
in future.


More information about the Digitalmars-d mailing list