Session

Fun with Generics

It has been over two years since generics were introduced in Go. Have you done anything fun with it? I have! Ever since the "Creative Use of Generics Contest" at Gophercon 2021 I have been dreaming with a monads library implementation in Go. In this session I will walk you through the basics of generics, how I used it to build a monads library, the challenges, limitations and a comparison with non-generic Go. In the end, you will be the judge to the question: was it a good idea after all?

Topics include:
- Generics syntax: types, functions, interfaces
- Generics constraints
- Monads: what they are, what they eat, where they live
- An Option type implemented in Go

Daniela Petruzalek

Executive Director at JPMC | Google Developer Expert

London, United Kingdom

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top