Generics were proposed a few years ago for Go, and they have finally been accepted into the language earlier this year. And they’re scheduled to be officially released at the end of this year.

How will Generics really affect Go? Will it change how we code?

To really answer these questions, we will need to take a look at how generics work. Conveniently, the devs have provided us with a web compiler where we can experiment with generics ourselves.

#go #golang

Generics in Go Explained with Code Examples
1.95 GEEK