Go Time: Golang, Software Engineering cover image

Mat asks the Go Team anything

Go Time: Golang, Software Engineering

CHAPTER

Generics

There's very little in reflect that needs to understand anything about generics. If you have a generic function that has a generic type in it, and you make a reflect value out of that thing, if you ask what type it is, it'll be the real, concrete type of it. So almost everything in generics is in the compiler. And particularly reflect is all going tohav work the same way as it did. The names will be a little weirder because they'll have brackets in them, but otherwise you won't notice the difference. But how do you decide what to work on? How does that happen? Does it happen somewhat organically, and you have some

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner