Exceptional results: Error handling with C# and Rust

Monadic error handling is an alternative to exception-based systems that can prevent many programming errors at compile time.

Similar

Rust Error Handling Survey

Rust's error handling is a pleasure to use thanks to the Result type. It ensures Rust's error handling is always correct, visible, and performant. And with the addition of the ? operator in Rust 1.13, and the addition of return types from main in Rust 1.2... (more…)

Read more »

Interior Mutability Patterns in Rust

Rusts type system requires that there only ever is one mutable reference to a value or one or more shared references. What happens when you need multiple references to some value, but also need to mutate through them? We use a trick called interor mutabil... (more…)

Read more »