News for hackers. Stuff that matters.
Re:The Path to Rust by kzrdude on Thursday May 26, 2016 @04:37AM (#11776500)
The "idomatic" version (I agree with that) simply works better. You can insert the typical `try!()` calls that short-circuit on error and return errors to the caller.

Retrofitting better error handling in the single expression version requires changing the shape of the whole thing, editing the expression throughout.

There are no comments on this comment yet.