DevOpsCon Munich 2021: Generics in Go

Опубликовано: 04 Октябрь 2024
на канале: Rainer Stropek
891
35

Recording of my session at DevOpsCon Munich 2021 (https://devopscon.io/). Recorded on Dec. 1st, 2021.

Go is one of the most important languages when it comes to DevOps. The language is known for its simplicity. However, there is one feature that Go developers painfully miss: Generics. This is about to change, Generics are coming. In this talk, Rainer Stropek speaks about how Generics will work in Go. He speaks about the latest previews and designs and will show a series of demos with Go Generics.

00:00:00 Intro
00:00:22 Welcome, personal introduction
00:03:23 Current Situation
00:09:58 Type Parameters in functions and channels
00:21:41 Type Constraints
00:31:46 Generic Types
00:35:15 No Generic Interfaces
00:35:51 Fun with Generic Functions and Closures
00:44:23 Closing