Friday, July 01, 2022

GoLang Generics: useful?

ongoing by Tim Bray · Golang Diaries: Generics

by Tim Bray, one of the original co-authors of the XML spec) finds a use case for generics in his Quamima pattern matching library, only to find that there are some ‘bumps in the road’ which he shares here for everyone’s benefit.

Tim concludes: “I don’t hate Go’s generics, which is actually pretty strong testimony given that I spent the best part of a couple of days fighting all the stuff described above. But, my guess is the Go generics story is isn’t finished yet.”

Golang Weekly Issue 412: May 20, 2022