Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I would also love Result<Err,MyThing> in as a return type in place of (err, myThing)


Yeah, using a tuple for what clearly should be a disjoint union is infuriating. I really don't buy the gopher argument that 'it is hard to understand'.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: