3 ms·
To be fair, though, error handling is terrible in every language, independent of how much the designers think about it.
by bee_rider 2y ago
To be fair, though, error handling is terrible in every language, independent of how much the designers think about it.
- deleted 2y ago[deleted]
- XorNot 2y agoSeriously. For the amount people glaze Rust on HN, error handling when you actually try to use Rust is overtly discussed as "oh yeah it's completely broken, most people try to replace the whole thing..."
- vlovich123 2y agoHuh? I find error handling in Rust to be quite nice to use. You do probably want to use thiserror to make it easier to define the Error type for your crate, but other than that it's super smooth IMO.
- kibwen 2y agoLet's not flirt with false equivalences. I've seen languages that do error handling worse than Go. I've also seen languages that do better.