4 ms·
Another comment mentions this is the third (serious) attempt at adding generics to Go. Is there any concise history of these attempts (including this one)? I'd
by cletus 6y ago
Another comment mentions this is the third (serious) attempt at adding generics to Go.
Is there any concise history of these attempts (including this one)? I'd like to understand the gist of these proposals and what ultimately derailed them.
By themselves these proposals are pretty inscurtable.
- cratermoon 6y agoThe golang nuts mailing list archive might be the best place to start. https://groups.google.com/g/golang-nuts https://groups.google.com/g/golang-nuts
- philosopher1234 6y agoThat is surely a history, but concise? Nope...
- cratermoon 6y agoWhat I meant was, go ask there.
- tomlu 6y agoThe major difference is the first proposal separated interfaces from concepts, later proposals (very wisely) unified them. Only concepts could be used in type constraints. They also switched from parenthesis () to square brackets [], thankfully.