Войти
  • 7667Просмотров
  • 1 год назадОпубликованоOliver Jumpertz

Youre probably misusing unwrap in Rust...lets fix that

Here's a very important thing about undesirable state (or errors) in Rust: They still happen, and Rust even has escape hatches (for good reason). That means: You still have to put in some thought to handle them. Gladly, there are a few rules you can follow to get the best experience out of the language when dealing with errors. Ready to learn a little more? Let's go! --- 🕖 Timestamps: 00:00 Intro 00:32 Errors in Rust 02:46 Dealing better with errors by example 11:06 General rules 13:35 Outro --- ❓ Who the hell am I? Hey, if we haven't met yet, I'm Oliver, and I'm a software engineer. I started programming over two decades ago as a hobby. Nowadays, I design and build huge distributed systems in the video on demand space. --- 📺 What else to watch? What about this one? ⬇️ Rust's Operator Overloading actually makes sense - Why It (Mostly) Doesn't Matter How You Code In Rust - 🙌🏻 You can also find me here: My blog: Threads: @oliverjumpertz