Beginner’s Guide to Error Handling in Rust

Error handling in Rust is very different if you’re coming from other languages. In languages like Java, JS, Python etc, you usually throw exceptions and return successful values. In Rust, you return something called a Result. Read more

Similar

The XDG base directory specification and Rust

The XDG base directory specification exists to address the problem of where programs should look for various kinds of files on a Unix system. Traditionally, in Unix, a per-program, per-user configuration file is stored as a “dot file”: program foo would e... (more…)

Read more »