News for hackers. Stuff that matters.
Re:A rough proposal for sum types in Go (2018) by Andys on Monday November 15, 2021 @05:20PM (#29233630)
Won't the generics feature type sets fulfill this use case?
Re:A rough proposal for sum types in Go (2018) by xh-dude on Monday November 15, 2021 @06:12PM (#29234195)
I feel like an object lesson here would be context.Context in Go, which sort of rhymes with Result types in a way … I figure this sort of programming in Go post-generics won’t emerge as uniform baseline but thematic variations will arise in some particular domains. But I really don’t know.