News for hackers. Stuff that matters.
Re:Dark side of ergonomics in Rust by bbatha on Saturday April 14, 2018 @10:00AM (#16837333)
That’s already a property of rust errors. If a function errors you can’t use its return value until you handle the error some way either explicitly, forward it with the ? operator, or unwrap it indicating an unrecoverable error.
Re:Dark side of ergonomics in Rust by falcolas on Saturday April 14, 2018 @10:18AM (#16837396)
The parent was referring to C style error handling, not Rust.