▲ 15 ▼ Toward Go 2
This is the text of my talk today at Gophercon 2017, asking for the entire Go community's help as we discuss and plan Go 2. We will add a link to the video when it becomes available.
Register to comment or vote on this story
It does seem Russ is trying to solicit problems rather than proposed solutions at this stage - always the hardest part of
I'm a little mystified as to why Generics are so contentious and excite the madding crowd so much over at reddit or HN on this topic. At the moment it might be partly that people have decided somehow the Go developers are hostile to generics rather than simply cautious about them (I think it's the latter). The built in functions acting on containers do feel like a bit of an ugly special case - just enough generic functions to get the job done I imagine was the thinking when they were put in, but why not let end users create generic functions? Nowadays this is expected, and in most languages (not C++) works quite well if used sparingly. I wonder if their hesitation is partly what if it is not used sparingly?
Things I'd like to see addressed:
Russ on Generics from the reddit thread on this story:
Mostly though I'd like my Go 1 code to just run with Go 2, without a massive painful migration for all those big projects and libraries that are already written in Go 1. Sounds great that they're considering backporting any changes they can, which is great.