With some sprinkle of libraries such as anyhow
and thiserror
the Rust errors become actually pleasant to use. The vanilla way is indeed painful when you start handling more than one type of error at a time.
With some sprinkle of libraries such as anyhow
and thiserror
the Rust errors become actually pleasant to use. The vanilla way is indeed painful when you start handling more than one type of error at a time.
Go is like that abusive partner that gives you flowers and the next day makes you feel like shit. Then another day you go to an expensive restaurant and you tell yourself that maybe it’s not so bad and they still care. And the cycle continues.
Rust is an autistic partner that sometimes struggles with telling you how much they care, is often overly pedantic about technical correctness and easily gets sidetracked by details, but with some genuine effort from both sides it’s very much a workable relationship.
I can’t unsee him.
I’m truly confused about what people expected.
The very notion of “less of a UB” is against the concept of UB. If you have an UB in your program, all guarantees are out of the window.
Or frontdoor checkbox for that matter, given that it’s the literal device owner that takes the action tripping their “security” tripwire.