3 ms·
The fact that the anyhow/thiserror crates are basically required, or you have to make a bespoke enum for your crate's errors and write conversion functions for
by rjh29 4y ago
The fact that the anyhow/thiserror crates are basically required, or you have to make a bespoke enum for your crate's errors and write conversion functions for them, is not great.
The try operator and Result type is amazing though.
- realharo 4y agoMany languages have this discussion about what functionality belongs in the standard library and what is best left to external libraries - to avoid being stuck with a bad design forever because of backwards compatibility, etc. I don't see a problem with relying on a few super popular basic libraries for almost every project.