10 ms·
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 c
by kzrdude 10y ago
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.