Re:Errors are values
by dbaupp on Tuesday January 13, 2015 @05:11AM
(#8878907)
To be fair, the Rust approach is mostly the same as the Go one on the machine, just harder to screw-up: the discriminant of the enum has to be checked to be able to extract the value (or extract the error) which is similar to checking `err` for `nil`.
[ Parent
| on HN ]
There are no comments on this comment yet.