3 ms·
To an approximation it's that. It also makes for somewhat more readable code since the properties are "result" and "error" rather than "left" and "right". I've
by bunderbunder 9y ago
To an approximation it's that. It also makes for somewhat more readable code since the properties are "result" and "error" rather than "left" and "right".
I've never liked to see much use of Either because it has the same readability issues as tuples.