Hacker News new | past | comments | ask | show | jobs | submit login

> generic collections (coming soon!)

You and I must experience time differently. I read a couple days ago that the end of 2022 would be the earliest they might appear but probably further out than that.




I've been using it about 8 years at work, and don't mind if they take another year, it'll take a while to work into large code bases anyway. Personally I've felt generics as a lack but not a huge unfillable hole, and prefer language stability to churn, so am completely fine with it taking time to add large features. I'm pleased with the evolution of the generics proposal so far - it's getting simpler and more transparent.

I really wish in their mooted Go 2 they could just remove some features, as listed above, rather than add some. Perhaps everyone prefers a slightly different subset of the language though so that isn't really possible.


> the earliest that generics could be added to Go would be the Go 1.17 release, scheduled for August 2021

https://blog.golang.org/generics-next-step




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: