I don't think there are many specific plans. I'm also not sure it's a good approach to the problem.
Defining a general API for these things is surprisingly hard - there are many different use-cases with different requirements. For example, maps can be implemented as hash sets or trees, requiring different constraints on the contained type. They might remember the order of insertion or they might not. Defining an API for maps would thus require us to decide what of these cases to cover - but they might be mutually exclusive. As the constraints and methods they offer are different, they can't really be put into the same abstraction.
So for most cases, it seems better to let the community design options and then, if it turns out we need standardization, decide based on the patterns that seem most needed.
In general, I would also advise to view the process as a slow one. We are still at least a year away from an actual implementation of generics - if we line up a lot of changes, to the stdlib or to how generics will work, for immediate inclusion after that, we are likely to make decisions we regret. Note, in particular, that applying generics to all code out there and thus fundamentally changing the feel of the language is probably the single largest objection to adding them in the first place. It seems prudent to be considerate with that.
Thanks, Archilbald H.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/f5be31c7-1bba-41de-acae-ea46b4c744f3n%40googlegroups.com.