Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
concede_pluto
· 9y ago · 0 comments
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.
Comments
[–]
KirinDave
9y ago
Sadly go can't even half bake a sum type suitable for this work without generics.