3 ms·
I didn't look too much at this but are they offering an alternative to the (IMO ugly) error checking pattern Go enforces? It's interesting to me shoehorning thi
by zer8k 3y ago
I didn't look too much at this but are they offering an alternative to the (IMO ugly) error checking pattern Go enforces? It's interesting to me shoehorning this into Go in particular. Go is notoriously stringent on how you write code.
- kadoban 3y agoThey have Either, so kind of. It looks serviceable, if a little messy without language support for safely destructuring its cases.
- bPspGiJT8Y 3y agoSafe destructuring could be achieved with Church encoding.