So do we like Generics or not? (Go Time #286)
So, do we like generics or not? Some people feared they'd be the end of the language. Others were very hopeful, and had clear use cases, and were thrilled about the feature coming to the language. It was also often touted as the reason a lot of people didn't adopt Go. So what do we think now? Mat and Kris are joined by Roger Peppe and Bryan Boreham to discuss the state of Generics in Go.
Embed this episode
Chapters
- 0:00 It's Go Time!
- 0:45 Roger Peppe
- 2:22 Bryan Boreham
- 2:57 Overview of generics
- 6:25 [Square brackets]
- 8:09 Roger's generic use
- 19:37 Constraints
- 26:45 Proposal for type switching
- 30:01 The error interface
- 30:51 Roger's Qt project
- 35:45 How do generics make you feel?
- 43:56 Go 1.21
- 47:18 Maps package
- 49:41 Unpopular opinions
- 50:01 Mat's unpop
- 50:45 Roger's unpop
- 59:25 Bryan's unpop
- 1:03:55 Kris' unpop
- 1:11:04 Mat's 2nd unpop
- 1:12:01 When Mat called a guy homeless
- 1:22:11 Universal jokes
- 1:26:59 Outro
No transcript yet.
Frequently asked questions
How long is this episode of Changelog Master Feed?
This episode is 1 hour and 28 minutes long.
When was this Changelog Master Feed episode published?
This episode was published on July 25, 2023.
Is there a transcript available for this episode?
Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.
Can I download this Changelog Master Feed episode?
Yes. Use the download control on the episode player to save the publisher-provided media file.