Rusty wall
Rusty wall
Photo by Julian Hochgesang on Unsplash

The Rust programming language is loved for its safety and speed and is weirdly fun to use, but sometimes, things go wrong.

In this article, I will focus on only one aspect, that many encounter from the start, and is the source of much struggle. The .unwrap() method, and all it entails. It’s in all the documentation and samples examples, yet people say not to use it. Why’s that? Let me unwind this for you, and some more.

I will use some examples from a toy analysis project on coronavirus data. …

Hadrien Hamana

I am a software engineer based in Japan, using Python and Rust to make other people richer than me.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store