Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
KirinDave
· 9y ago · 0 comments
I'll take Either where I can guarantee I know what I'm dealing with and that it's dealt with rather than the honors system Go offers.
Comments
[–]
concede_pluto
9y ago
Go is basically using multiple return values as a half baked Either type, only you're on your own if you want to pass it over a channel or store it anywhere.
[–]
KirinDave
OP
9y ago
Sadly go can't even half bake a sum type suitable for this work without generics.