This is an excellent read. I was expecting a Rust rant but was instead treated to a very well thought out article about how to write more defensive code in Rust. Highly recommended.
Good article but a minor nitpick is that port zero is not strictly an invalid port as it's often used to allow the OS to pick an available port at random.
This is an excellent read. I was expecting a Rust rant but was instead treated to a very well thought out article about how to write more defensive code in Rust. Highly recommended.
Good article but a minor nitpick is that port zero is not strictly an invalid port as it's often used to allow the OS to pick an available port at random.
More comments here https://news.ycombinator.com/item?id=43585742