Golang proposal: container/: generic collection types

51 points - today at 6:39 PM

Source

Comments

athorax today at 8:12 PM
On one hand I'm glad to see this being added, but its becoming obvious building generics into the language as-is just isn't a good fit. Hopefully Go v2 can solve this at a more foundational level while still allowing interop or easy porting form current go code.
deleted today at 8:31 PM
troupo today at 7:33 PM
Go is rediscovering Guy Steele's Growing a Language from first principles, at a much slower pace: https://youtu.be/_ahvzDzKdB0?is=qZdfiT3792XyHxSJ