Fun with Generics - Daniela Petruzalek
It has been over two years since generics were introduced in Go. Have you done anything fun with it? Daniela has! Ever since the "Creative Use of Generics Contest" at Gophercon 2021 Daniela has been dreaming with a monads library implementation in Go. In this session she will walk you through the basics of generics, how she 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
August 16, 2023