News for hackers. Stuff that matters.
Re:A rough proposal for sum types in Go (2018) by feffe on Monday November 15, 2021 @04:05PM (#29232746)
Sum types would be nice to describe protocols such a grpc as well (given suitable syntactic sugar to switch on them).

I think sum types, possibly in combination with tuples would have been nicer than multiple return values. But I guess everyone has their particular wish list of what a programming language should be :-)

There are no comments on this comment yet.