Blogs / Personal blogs

Andrew Gallant

blog.burntsushi.net

I was recently diagnosed with anti-NMDA receptor encephalitis . It is an autoimmune disorder where your body’s normally helpful antibodies start acting strangely . This leads to inflammation in the brain. This blog briefly discusses some of my experience and prognosis.

Popular posts
8
Total points
2,971
HN comments
1,204
Rank
#478 personal

Visit blog.burntsushi.net → RSS feedOn Hacker News Apr 2014 – Jul 2023

Software Engineering 7Programming Languages 3Math & Algorithms 2Tools & Productivity 1Systems & Performance 1Open Source 1

1

Using unwrap() in Rust is okay

One day before Rust 1.0 was released, I published a blog post covering the fundamentals of error handling . A particularly important but small section buried in the middle of the article is named “ unwrapping isn’t evil ”. That section briefly described that, broadly speaking, using unwrap() is okay if it’s in…

2

Error handling in Rust

Like most programming languages, Rust encourages the programmer to handle errors in a particular way. Generally speaking, error handling is divided into two broad categories: exceptions and return values. Rust opts for return values.