3 ms·
Anyone know the status of overall golang 2? also anyone know of any proposals around generics or pattern matching?
by anotherhacker0 4y ago
Anyone know the status of overall golang 2?
also anyone know of any proposals around generics or pattern matching?
- mseepgood 4y agoThere are no plans for a literal version 2 anymore. Generics were released in March. There are no active proposals for pattern matching.
- gus_leonel 4y agoA quick guide to the generics support that's been added to Go: https://bitfieldconsulting.com/golang/generics https://bitfieldconsulting.com/golang/generics
- jerf 4y agoSpecifically, Golang 2.0 was reserved for backwards incompatible changes, generally understood to be of some significant size, not twiddly bits like this that are adequately covered by a go.mod flag. Generics was thought to possibly involve backwards incompatible changes, but it was done without backwards incompatibility. There aren't any similarly-sized issues on the horizon right now that would result in a 2.0. If you track the issues closely on GitHub, there's a constant low-level discussion going on about it, but so far nothing seems to be both important enough and large enough to justify the version change, like, not even close.