News for hackers. Stuff that matters.
Re:Toward Go 2 by saghm on Friday July 14, 2017 @02:55PM (#14772282)
> In both cases I have to either write a handler immediaitely after the call, or I'm going to fail and toss it back up to whoever called me.

The main difference as I see it is that in Rust, you can't get the success value if there's an error, so you're forced by the compiler to handle any error if there is one. With tuples, you're free to just look at one element regardless of the value of the other.

There are no comments on this comment yet.